Bug 17 - "mount -t foo /dev/wd1h /mnt" gives incorrect error message
Summary: "mount -t foo /dev/wd1h /mnt" gives incorrect error message
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: FreeBSD Core Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1994-11-14 06:10 UTC by Gene Stark
Modified: 2001-11-28 02:41 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gene Stark 1994-11-14 06:10:03 UTC
If you type "mount -t foo /dev/wd1 /mnt" then you get an error
message:

	/usr/sbin/mount_foo for /mnt: No such file or directory

In fact, the message should refer to /sbin/mount_foo

Fix: 

Change the compiled-in pathname.
How-To-Repeat: 
	mount -t foo /dev/wd1h /mnt
Comment 1 jkh freebsd_committer freebsd_triage 1996-03-03 08:35:32 UTC
State Changed
From-To: open->closed

This isn't really a bug so much as it's just a slightly confusing 
error message (mount looks *also* in /usr/sbin if it can't find it 
in /sbin, so it's reporting a failure for the last path checked). 
Fixed.