delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/06/06:20:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 6 Sep 2001 12:20:18 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: No more //c
Message-ID: <20010906122018.A9677@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <OFBB335618 DOT 4A6FFFF5-ONC1256ABF DOT 00279BC0 AT 11 DOT AM-GRUPPE DOT DE>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <OFBB335618.4A6FFFF5-ONC1256ABF.00279BC0@11.AM-GRUPPE.DE>; from frederick.page@amb-informatik.de on Thu, Sep 06, 2001 at 12:09:08PM +0100

On Thu, Sep 06, 2001 at 12:09:08PM +0100, frederick DOT page AT amb-informatik DOT de wrote:
> Hi there,
> 
> http://sources.redhat.com/ml/cygwin-announce/2001/msg00109.html says
> about the upcoming changes in Cygwin 1.3.3:
> 
> Briefly, the problem with using //x to refer to drive x is that it
> clashes with Windows' use of // to denote a network share.  So a system
> called 'x' on your network was previously inaccessible to cygwin.
> 
> 
> I'm not sure, whether this new change is necessary at all: to my
> understanding, Windows uses the non-standard backslash, a network
> share would be noted here as \\Sharename (and *not* //Sharename).
> 
> Am I missing something?

Yep. When you use a POSIX like path it's translated into a
Win32 path inside of Cygwin. So //x becomes \\x. Moreover,
at least NT understand / in paths, too, so it would translate
it internally to \ and it would again hit \\x.

The \\x syntax is too ambiguous so it is deprecated since at
least two years. We're just doing the obvious step to drop it
completely now.

Again, if that's still unclear: You can use mount to get rid
of the "/cygdrive":

	mount --change-cygdrive-prefix /

and if you want these automatic mount points being binary mounts:

	mount -b --change-cygdrive-prefix /

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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