delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/19/10:00:04

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 19 Sep 2000 09:45:26 -0400
To: "'cygwin AT sources DOT redhat DOT com'" <cygwin AT sources DOT redhat DOT com>,
cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Setting cygdrive prefix to '/' causes disappearing mounts
Message-ID: <20000919094526.A28844@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: "'cygwin AT sources DOT redhat DOT com'" <cygwin AT sources DOT redhat DOT com>,
cygwin AT sourceware DOT cygnus DOT com
References: <20000919133502 DOT 20253 DOT qmail AT web108 DOT yahoomail DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <20000919133502.20253.qmail@web108.yahoomail.com>; from earnie_boyd@yahoo.com on Tue, Sep 19, 2000 at 06:35:02AM -0700

On Tue, Sep 19, 2000 at 06:35:02AM -0700, Earnie Boyd wrote:
>For those of you using the // prefix for unmounted drives I urge you to
>reconsider.  Either start using /cygdrive or rename /cygdrive to something more
>to your liking such as /umnt but stay away from changing it to //.

Just for the record, changing the cygdrive prefix to '/' does not result
in paths that begin with '//'.  Cygwin goes to great pains to ensure that it
emits a path with a '//' only when referencing a UNC path.  So, if you set
your cygdrive prefix to '/' and move to the d: drive, pwd will report /d.

If you think about it for a second, this is consistent with the way the root
directory works.  Setting the cygdrive prefix to the empty string would
imply that you could use just 'a' (no slash) to reference the a: drive.

Anyway, attempting to set the cygdrive prefix to either '' or '//' will
fail thanks to Kazuhiro's recent change.

Cygwin already allows you to use '//a' to reference the A: drive but, as Earnie
says, this usage is discouraged.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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