SOLVED: Re: Determining process preventing umount of busy partition
Polytropon
freebsd at edvax.de
Thu Feb 19 03:32:07 PST 2009
On Wed, 18 Feb 2009 10:44:31 -0900, Mel <fbsd.questions at rachie.is-a-geek.net> wrote:
> Can you show mount -p before trying to unmount /usr? On the off-chance /export
> or /export/home is really a symlink to /usr/home (mount -p shows realpath(3)
> for mounts).
Hm, I keep /home out of /usr, so there's only a symlink (for the
obvious compatibility reasons) /home@ -> export/home.
BUT, and now the big surprise, maybe a possibility:
% mount -p
/dev/ad0s1a / ufs rw 1 1
devfs /dev devfs rw 0 0
/dev/ad0s1d /tmp ufs rw 2 2
/dev/ad0s1e /var ufs rw 2 2
/dev/ad0s1f /usr ufs rw 2 2
/dev/ad0s1g /export/home ufs rw 2 2
devfs /var/named/dev devfs rw 0 0
linprocfs /usr/compat/linux/proc linprocfs rw 0 0
^^^^ Haha!!!
It seems that the linprocfs prevents umounting of /usr because its
mountpoint /usr/compat/linux/proc is de facto INSIDE /usr.
I've checked this while in SUM: When umounting linprocfs prior to
/usr, no problems occur.
I'll speak to Mr. Tritter so he can stop his investigations. Seems
that we found the reason.
Thanks for your help.
Seems that I'm too stupid to own a computer. :-)
--
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list