Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 14 May 2004 16:14:44 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: user-specific mounts
In-Reply-To: <20040514182326.GB10982@coe.bosbc.com>
Message-ID: <Pine.GSO.4.58.0405141611350.29485@slinky.cs.nyu.edu>
References: <20040513122250.GA13116@ata.cs.hacettepe.edu.tr> <Pine.GSO.4.56.0405131348100.16639@slinky.cs.nyu.edu> <20040514090839.GB19350@ata.cs.hacettepe.edu.tr> <Pine.GSO.4.58.0405141343530.29485@slinky.cs.nyu.edu> <20040514182326.GB10982@coe.bosbc.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.39

On Fri, 14 May 2004, Christopher Faylor wrote:

> On Fri, May 14, 2004 at 02:10:40PM -0400, Igor Pechtchanski wrote:
> >According to mount_info::from_registry() (in path.cc), the user mounts
> >are read before the system ones, and therefore appear earlier in the
> >mount table.  I'm pretty sure the mount table is accessed linearly, so
> >the earlier items take precedence, but it would be nice if someone
> >confirmed this.
>
> Why not just "try it"?  Create two mounts, one user and one system.  See
> which takes precedence.

I did try it.  I should have amended the above with "on my system, mounts
work as expected, with user mounts shadowing the system ones".  In fact,
mount actually gives a warning that "system mount point of '/...' will
always be masked by user mount."  But there's got to be some explanation
for the behavior the OP is seeing...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

