> Will it ever work as it appears it should? Currently I have (on 2.2.8)
>       
>       m...@xxx:/tmp (1032) umount -f phosphorus:/phosphorus
>       umount: /phosphorus: Device busy

>From an email from Peter Wemm:

    In this situation, you need to do this:
    umount -f -t nfs phosphorus:/phosphorus

This causes umount to stat("phosphorus:/phosphorus") (which fails) rather
than "/mnt".

I really don't understand all the reasons behind this, but there seems to
be a result of a lot of hackery so that:

ln -s /dev/wd0c /dev/cdrom
mount /dev/cdrom /mnt
umount /dev/cdrom /mnt
.. works.  I don't recall the problems that it has to work around, but I 
gather that at mount time the symlink is followed and "/dev/wd0c" is 
installed in the mount table - so "/dev/cdrom" would not be matched by 
umount(2).

-----

bde commented that the current behavior is needed so that "/dev/cdrom"
shows up in ``mount'' w/o args instead of "/dev/wd0c".

-- 
-- David    (obr...@nuxi.com  -or-  obr...@freebsd.org)

To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to