Bug 98923 - mount prints wrong error message in case of missing mount dir
mount prints wrong error message in case of missing mount dir
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: mount (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-07-10 10:11 EDT by David Balažic
Modified: 2007-04-18 12:55 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-07-30 16:45:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Balažic 2003-07-10 10:11:04 EDT
On RHL9 (Shrike) :

[root@slave6 root]# mount /dev/hdg8 /mnt/8
mount: you must specify the filesystem type # <<--- HERE
[root@slave6 root]# mkdir /mnt/8
[root@slave6 root]# mount /dev/hdg8 /mnt/8
FAT: bogus logical sector size 11307
VFS: Can't find a valid FAT filesystem on dev 22:08.
mount: you must specify the filesystem type

The wrong error message is printed at the "HERE" comment IMHO.
It should say "/mnt/8: No such file or directory".

Version:
mount-2.11y-9
Comment 1 Elliot Lee 2003-07-30 16:45:20 EDT
The error message is correct - a filesystem type is required. Whether or not there are other 
errors is irrelevant. You'll see those errors as soon as you follow the instructions. :)
Comment 2 David Balažic 2003-07-31 03:32:59 EDT
I disagree. The error text could be much more user friendly.

Note You need to log in before you can comment on or make changes to this bug.