Re: root not busy as it should? [was Re: 2.4.0test1-ac4 - mount problem]

From: Chad Schwartz (cwslist@main.cornernet.com)
Date: Thu Jun 01 2000 - 10:25:54 EST


He mounted /dev/hda1, which was assumed to already be mounted on /.

He is incorrect.

the umount /mnt *SHOULD* have succeeded. But if the kernel unmounts the /
mountpoint as well, *THAT* is a bug...

 chad
 

On Thu, 1 Jun 2000, CaT wrote:

> On Wed, May 31, 2000 at 10:10:33PM +0200, Pavel Machek wrote:
> > Seems we have problem with root not being busy when it should. My / fs
> > is hda1.
> >
> > root@bug:/# mount /dev/hda1 /mnt
> > root@bug:/# cd /mnt/
> > root@bug:/mnt# ls
> > amnt/ cdrom/ elf/ home/ lib.suse/ mnt/
> > overlay/ suse/ var/
> > bin/ core etc/ instmnt@ lost+found/
> > nohome/ proc/ tmp/ zip/
> > boot/ dev/ hdc/ lib/ minicom.log opt/
> > sbin/ usr/
> > root@bug:/mnt# cd ..
> > root@bug:/# umount /mnt
> >
> > Oops. mount should not have succeeded.
>
> Erm. You mounted on /mnt, did a cd into it, did an ls and then performed
> a cd out of it (thereby no longer using it) and umounted it successfuly.
>
> Have I missed something? It seems as if everything is fine there...
>
> --
> CaT (cat@zip.com.au) URL: http://www.zip.com.au/dev/null
>
> 'He had position, but I was determined to score.'
> -- Worf, DS9, Season 5: 'Let He Who Is Without Sin...'
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:12 EST