Bug 7846 - /sbin/mount_* do not canonicalize the mount node pathname.
Summary: /sbin/mount_* do not canonicalize the mount node pathname.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 3.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-09-07 09:40 UTC by Jos.Backus
Modified: 1999-12-18 23:36 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 Jos.Backus 1998-09-07 09:40:00 UTC
	hal:/tmp# pwd
	/tmp
	hal:/tmp# mkdir mnt
	hal:/tmp# mount_cd9660 /dev/wcd0c mnt
	hal:/tmp# mount
	/dev/wd0s1a on / (local, soft-updates, writes: sync 2 async 15105)
	/dev/wd0s1f on /usr (local, soft-updates, writes: sync 996 async 182232)
	/dev/wd0s1e on /var (local, soft-updates, writes: sync 2 async 43238)
	procfs on /proc (local)
	mfs:23 on /tmp (asynchronous, local, writes: sync 23 async 2259)
	/dev/wcd0c on mnt (local, read-only)
	hal:/tmp# umount mnt
	umount: mnt: not currently mounted
	hal:/tmp# umount /tmp/mnt
	umount: /tmp/mnt: not currently mounted
	hal:/tmp# umount /dev/wcd0c
	hal:/tmp#

Fix: 

Document this fact or canonicalize as done in mount(8).
How-To-Repeat: 
	See above.
Comment 1 Brian Feldman freebsd_committer freebsd_triage 1999-12-18 23:35:30 UTC
State Changed
From-To: open->closed

This has been fixed in -CURRENT and 3.3/3.4.