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 Date: Mon, 24 Oct 2005 22:53:52 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Yitzchak Scott-Thoennes cc: cygwin AT cygwin DOT com Subject: Re: textmount/binmount issue In-Reply-To: <20051025002252.GA3656@efn.org> Message-ID: References: <3E1FDC960FE04A4E96892B9023622A4E046B4761 AT de010369 DOT de DOT ina DOT com> <20051024200517 DOT GA1952 AT efn DOT org> <20051025002252 DOT GA3656 AT efn DOT org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 24 Oct 2005, Yitzchak Scott-Thoennes wrote: > On Mon, Oct 24, 2005 at 05:56:36PM -0400, Igor Pechtchanski wrote: > > On Mon, 24 Oct 2005, Yitzchak Scott-Thoennes wrote: > > > > > On Mon, Oct 24, 2005 at 11:05:13AM -0400, Igor Pechtchanski wrote: > > > > Looks like the cygdrive prefix takes precedence over explicit mounts. > > > > This is arguably a bug. . > > > > Corinna or Chris, care to comment? > > > > > > My name doesn't start with C, but I will comment that if the precedence > > > went the other way, a mount like: > > > > > > mount c:/foo /cygdrive/d > > > > > > would make a windows path d:\bar have no posix translation. > > > > How is this different from > > > > mount c:/baz /somemount > > mount c:/foo /somemount/d > > > > (except for the fact that /cygdrive/d is an automount)? I'm actually not > > sure what's meant by "posix translation" in this context... > > For example, assume a windows PATH=d:\bar. What does a cygwin program > convert PATH to at startup? There would be no equivlent, since > /cygdrive/d/bar would mean c:/foo/bar, not d:/bar. Ah, I see. Well, one solution is to disallow mounting over directories under the /cygdrive prefix (which is a good idea anyway, as it'll wreak havoc even in the current case). Yes, I know, PTC... 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! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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/