delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/24/17:56:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Mon, 24 Oct 2005 17:56:36 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: textmount/binmount issue
In-Reply-To: <20051024200517.GA1952@efn.org>
Message-ID: <Pine.GSO.4.63.0510241750310.29605@slinky.cs.nyu.edu>
References: <3E1FDC960FE04A4E96892B9023622A4E046B4761 AT de010369 DOT de DOT ina DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0510241103330 DOT 27005 AT slinky DOT cs DOT nyu DOT edu> <20051024200517 DOT GA1952 AT efn DOT org>
MIME-Version: 1.0

On Mon, 24 Oct 2005, Yitzchak Scott-Thoennes wrote:

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

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

- Raw text -


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