This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: user-specific mounts


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]