Re: /proc/mounts: two different loop devices mounted on same mountpoint?!

Pavel Machek (pavel@suse.cz)
Thu, 28 Feb 2002 14:44:55 +0100


Hi!

> I think that is normal behaviour in 2.4.X
> that one can mount more than once
> on same mount point.

But two different devices? What's the semantics, then?
> > Hi!
> >
> > Kernel 2.4.17:
> >
> > pavel@amd:~/misc$ cat /proc/mounts
> > /dev/root / ext2 rw 0 0
> > /dev/hda3 /suse ext2 rw 0 0
> > none /proc proc rw 0 0
> > none /proc/bus/usb usbdevfs rw 0 0
> > /dev/cfs0 /overlay coda rw 0 0
> > /dev/loop0 /mnt ext2 rw 0 0
> > /dev/loop1 /mnt ext2 rw 0 0
> > pavel@amd:~/misc$
> >
> > Both /dev/loop0 *and* /dev/loop1 mounted on /mnt at same time? Oops?
> > What's the semantics of that? [And I guess it should not be allowed)
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/