delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/30/14:52:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Thu, 30 Sep 1999 14:50:33 -0400
To: cygwin AT sourceware DOT cygnus DOT com
Cc: Cesare Giuliani <giulianc AT hotmail DOT com>
Subject: Re: pwd command output
Message-ID: <19990930145033.B10031@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com,
Cesare Giuliani <giulianc AT hotmail DOT com>
References: <19990930163110 DOT 22008 DOT rocketmail AT web129 DOT yahoomail DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <19990930163110.22008.rocketmail@web129.yahoomail.com>; from Earnie Boyd on Thu, Sep 30, 1999 at 09:31:10AM -0700

On Thu, Sep 30, 1999 at 09:31:10AM -0700, Earnie Boyd wrote:
>> I am using the 19990922 snapshot and I noticed that running the
>> pwd command inside the bash I got the following outputs:
>> 
>> /             if I am on the C: drive
>> /cygdrive/d   if I am on the D: drive
>> /cygdrive/e   if I am on the E: drive
> 
>BTW, I'm thinking that the cygdrive text is stored in the registry and could be
>changed to what you want.  I can't verify that at this time but you could look
>using RegEdit.  The /cygdrive/ was added to change the // due to problems with
>Win32 thinking it was referencing a network drive.  It could have just as well
>have been made an error if the drive isn't mounted rather than defaulting to
>anything at all.

If you use the mount.exe that comes with the snapshot (read the instructions
at the top of the download web page) then you can change the /cygdrive to
something else using mount.

I always *strongly* discourage people from mucking with the registry when
there are standard programs available to provide this.

-Chris Faylor
-Cygwin Manager
-Cygnus Solutions

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