delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/07/11:15:36

From: lhall AT rfk DOT com ("Larry Hall (RFK Partners Inc)")
Subject: Re: local paths and cd //<RootdriveLetter> i.e cd //g not
working
7 Aug 1997 11:15:36 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <2.2.32.19970807164311.009432b8.cygnus.gnu-win32@ma.ultranet.com>
Mime-Version: 1.0
X-Sender: lhall AT ma DOT ultranet DOT com
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Original-To: Jerzy Schubert <jsc AT ppe DOT bb-data DOT de>, gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

At 12:04 PM 8/7/97 +0200, Jerzy Schubert wrote:
>local paths seems not to work correctly, see below ls /usr vs. ls usr
>form within /
>also staying in f.e. /usr/local/sbin
>and doing cd //g
>then ls gives still the contents of /usr/local/sbin
>( //g hapened to be / )
>after that cd ..; ls gives  the contens of the root directory
>
<snip>

Jerzy,

Try making a /usr directory, for example.  I think you'll find "ls usr" 
works OK then (I can't tell for sure because I'm at work with only b17
and it only kinda works here).  Keep in mind that the basis for all of
these tools is a UNIX environment.  In UNIX, you cannot mount a 
directory to a location without creating that location first.  The
Cygnus version of mount is a little peculiar in that sense since it
doesn't require the mounting directory to exist first.  Regardless,
the tools will require that the files and directories you give them
exist.  If what you type matches the mount point exactly, Cygnus will
resolve it anyway.  Otherwise, you need to provide the structure to 
make it work.  Symbolic links may be another way to solve this 
problem...

Larry Hall                      lhall AT rfk DOT com
RFK Partners, Inc.              (617) 239-1053
8 Grove Street                  (617) 239-1655 - FAX
Wellesley, MA, 02181

-
For help on using this list (especially unsubscribing), 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