delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/14/16:15:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT 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 DOT GA13116 AT ata DOT cs DOT hacettepe DOT edu DOT tr> <Pine DOT GSO DOT 4 DOT 56 DOT 0405131348100 DOT 16639 AT slinky DOT cs DOT nyu DOT edu> <20040514090839 DOT GB19350 AT ata DOT cs DOT hacettepe DOT edu DOT tr> <Pine DOT GSO DOT 4 DOT 58 DOT 0405141343530 DOT 29485 AT slinky DOT cs DOT nyu DOT edu> <20040514182326 DOT GB10982 AT coe DOT bosbc DOT com>
MIME-Version: 1.0
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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019