www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/15/15:51:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 15 Oct 2002 15:51:19 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler AT upb DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: paths like //usr/local
In-Reply-To: <aohos4$hn8$1@main.gmane.org>
Message-ID: <Pine.GSO.4.44.0210151546090.18519-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Tue, 15 Oct 2002, [ISO-8859-1] Sven Köhler wrote:

> >>a path like //usr/local is treated as an UNC path.
> >>this might leads to problems when an application is using //usr/local as
> >>a normal "unix"-path.
> >>
> >>i don't know how to overcome the problem, but one might think of a path
> >>like /unc/computer/share instead of using the path //computer/share
> >>
> >>what was the idea behind the current behaviour?
> >
> > Do you think that Microsoft employees read this mailing list?  I'm sure
> > that there are one or two but I doubt that they could speak definitively
> > about why Microsoft chose this behavior.
>
> cygwin translates paths like /usr/local to c:\cygwin\usr\local and
> manages mount-points etc...
> cygwin opffers a complete "virtual filesystem"
>
> the cygwin-developers chose, to NOT convert //usr/local to
> c:\cygwin\usr\local
>
> i would like to know why.

Sven,
Basically your complaint is inconsistent behavior of multiple contiguous
slashes depending on where they occur in the path (i.e., the initial two
slashes won't be collapsed, but elsewhere in the path they will be).
Perhaps something like a unc_prefix is in order, similar to the cygdrive
prefix?
"Patches gratefully accepted" (C).  Oops, sorry, I guess it's "Donations
gleefully accepted" now... :-D
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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