[lkml]   [2002]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: /proc/mounts: two different loop devices mounted on same mountpoint?!
On Thu, Feb 28, 2002 at 02:44:55PM +0100, Pavel Machek wrote:
> > 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?

All accesses go to the filesystem mounted last. The one mounted first
is inaccessible until you unmount the filesystem covering it. Well,
not really inaccessible, if any process happened to have a working
directory or an open file on the first filesystem at the time you
mounted the second, it can still access it.

There is nothing special involved, after all, it's the same as if you
mount a single filesystem to /mnt, the only difference is that the
second mount this time doesn't cover a single dirtree on the root
partition, but instead it covers a complete other filesystem.

Andreas Ferber - dev/consulting GmbH - Bielefeld, FRG
+49 521 1365800 - -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:24    [W:0.035 / U:6.448 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site