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

From: CaT (cat@zip.com.au)
Date: Wed May 31 2000 - 21:26:06 EST


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:11 EST