Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2009 12:31:43 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Mel <fbsd.questions@rachie.is-a-geek.net>
Cc:        freebsd-questions@freebsd.org
Subject:   SOLVED: Re: Determining process preventing umount of busy partition
Message-ID:  <20090219123143.2b127ebd.freebsd@edvax.de>
In-Reply-To: <200902181044.31941.fbsd.questions@rachie.is-a-geek.net>
References:  <20090212062505.ca66b93e.freebsd@edvax.de> <200902171330.55677.fbsd.questions@rachie.is-a-geek.net> <20090218160752.20522f26.freebsd@edvax.de> <200902181044.31941.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Feb 2009 10:44:31 -0900, Mel <fbsd.questions@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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090219123143.2b127ebd.freebsd>