Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: Chris Faylor <cgf@cygnus.com>
Date: Tue, 19 Sep 2000 09:45:26 -0400
To: "'cygwin@sources.redhat.com'" <cygwin@sources.redhat.com>,
        cygwin@sourceware.cygnus.com
Subject: Re: Setting cygdrive prefix to '/' causes disappearing mounts
Message-ID: <20000919094526.A28844@cygnus.com>
Reply-To: cygwin@sources.redhat.com
Mail-Followup-To: "'cygwin@sources.redhat.com'" <cygwin@sources.redhat.com>,
	cygwin@sourceware.cygnus.com
References: <20000919133502.20253.qmail@web108.yahoomail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@sourceware.cygnus.com

