Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: References: <20040513122250 DOT GA13116 AT ata DOT cs DOT hacettepe DOT edu DOT tr> <20040514090839 DOT GB19350 AT ata DOT cs DOT hacettepe DOT edu DOT tr> <20040514182326 DOT GB10982 AT coe DOT bosbc DOT 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 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/