Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 24 Oct 2005 13:05:17 -0700
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
To: cygwin@cygwin.com
Subject: Re: textmount/binmount issue
Message-ID: <20051024200517.GA1952@efn.org>
References: <3E1FDC960FE04A4E96892B9023622A4E046B4761@de010369.de.ina.com> <Pine.GSO.4.63.0510241103330.27005@slinky.cs.nyu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.GSO.4.63.0510241103330.27005@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes

On Mon, Oct 24, 2005 at 11:05:13AM -0400, Igor Pechtchanski wrote:
> On Fri, 21 Oct 2005, Lemke, Michael  IZ/HZA-IOM wrote:
> 
> > This is my current mount table:
> >
> >  pc00626> mount -m
> > mount -f -s -b "c:/MyStuff/cygwin/bin" "/usr/bin"
> > mount -f -s -b "c:/MyStuff/cygwin/lib" "/usr/lib"
> > mount -f -s -b "c:/MyStuff/cygwin" "/"
> > mount -f -s -t -E "u:" "/u"
> > mount -s -b --change-cygdrive-prefix "/"
> >
> > Note that /u is mounted textmode while the rest is binary.  However,
> > if I access files on /u they are binmode as well.  But when I
> > change the mode of the drive prefix to text then /u is also text.
> > Seems like prefix is overwriting the explicit setting for /u.  If
> > the drive prefix is something else but /u is still there then /u
> > is not affected by the prefix settings.  Is this intended behavior?
> 
> Looks like the cygdrive prefix takes precedence over explicit mounts.
> This is arguably a bug.  <http://cygwin.com/acronyms/#PTC>.
> 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.

--
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/

