Re: 2.4.0test1-ac4 - mount problem

From: James Sutherland (jas88@cam.ac.uk)
Date: Sat Jun 03 2000 - 08:31:33 EST


On Wed, 31 May 2000, Giuliano Pochini wrote:

> Olivier Galibert wrote:
> >
> > On Tue, May 30, 2000 at 09:46:13AM -0500, Chad Schwartz wrote:
> > > You can allow a person to mount the same fs in unlimited places. thats
> > > just fine.
> > >
> > > But do *NOT* allow a mount on top of an already mounted filesystem.
>
> Hmm, what happens if I
>
>
> mount /dev/sda1 /mnt
> mount /dev/sda1 /mnt/mnt
> umount /mnt
>
> ?

The second mount (on /mnt/mnt) should make the mount on /mnt busy, so it
can't be unmounted before /mnt/mnt, AIUI?

James.

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