Bug 7846

Summary: /sbin/mount_* do not canonicalize the mount node pathname.
Product: Base System Reporter: Jos.Backus <Jos.Backus>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.0-CURRENT   
Hardware: Any   
OS: Any   

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.