xfs
[Top] [All Lists]

Re: double mounting and other strangeness.

To: pac@xxxxxxxxxxxxxx
Subject: Re: double mounting and other strangeness.
From: Stephen Lord <lord@xxxxxxx>
Date: Mon, 28 Jan 2002 07:06:24 -0600
Cc: linux-xfs@xxxxxxxxxxx
References: <20020127113553.A13031@xxxxxxxxxxx> <27476.1012173537@xxxxxxxxxxxxxxxxxxxxx> <20020127173852.A14538@xxxxxxxxxxx> <20020128015656.A4541@xxxxxxxxxxxxx> <20020127205023.A14726@xxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226
pac@xxxxxxxxxxxxxx wrote:

On Mon, Jan 28, 2002 at 01:56:56AM +0100, Andi Kleen wrote:

 Is there any legitimate reason you would want to do this? I dont
want to scream at them if there is a good reason for it. What is the
opinion of the FS developers here?

It's for example useful for chroot. You can mount a single file system
in multiple chroots.  There is also the related feature of mount --bind
which allows to do the same thing for directories and files. Again
it is useful for chroots.


 Yes, but in my case, i had 2 filesystems mounted on the SAMe mount point.
Here is an inherent ambiguity in which filesystem i am actually write/reading
from.

But mount in unix allows you to mount a filesystem within another filesystem, otherwise you could not have nested filesystems. Mounting on top of the root of a
filesystem is just a special case of this.

Steve




<Prev in Thread] Current Thread [Next in Thread>