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

From: Pavel Machek (
Date: Thu Jun 01 2000 - 03:15:47 EST


> > 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...

Yes. I did it with running system. I had

/dev/hda1 mounted on /
then I just mounted /dev/hda1 on /mnt:
/dev/hda1 mounted on /
/dev/hda1 mounted on /mnt
And that was without any warning. That used to be prohibited.

The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at

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