delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/10/17/20:10:02

From: jeffers AT redrose DOT net (David Jeffers)
Subject: Re: Bug: 'cd ..' from //a/{subdir} broken
17 Oct 1996 20:10:02 -0700 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199610172304.QAA20053.cygnus.gnu-win32@cygnus.com>
References: <2663b9f0 AT softart DOT com>
Original-To: MLDickey AT softart DOT com
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <2663b9f0@softart.com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

>>>>> "MLDickey" == MLDickey  <MLDickey AT softart DOT com> writes:

    MLDickey>      I've tried several different floppies, and all of
    MLDickey> them do the same thing.  I do not have source to check
    MLDickey> against.
     
    MLDickey>      If you 'cd //a' and then 'cd {some subdir}' you
    MLDickey> cannot 'cd ..' to get back to the parent.  It just stays
    MLDickey> in the current directory.  Also, you cannot 'cd //a' to
    MLDickey> get to the parent, either.  You have to change drives
    MLDickey> first, and then go back to //a.
     
    MLDickey>      It appears that the current directory state gets
    MLDickey> mangled with the default directory state on the A:
    MLDickey> drive.

    If you have the "mount" command and use it to display your
    drive paths you will see that "//a" is mountable. This means
    you can mount //a to a: or even a directory like 'floppy'.
    For instance I have my cdrom which is normally drive "D:'
    mounted on 'cdrom' thus if I cd to 'cdrom' it reads my 'd:'
    drive.
    
    Likewise I have "c:\" mounted as "/" or the 'root' drive.
    Using your tests above I have no problems cd'ing around :)
    You can view your drive paths in the Registry under
    'H_KEY_CURRENT_USER\software\Cygnus Support\Cygwin.dll\setup
    \b15.0\mount\01 thru 05'. Change the 'native' keys to set-up
    your drive paths.
    

    David Jeffers	 
<jeffers AT redrose DOT net>	

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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