Subject: local paths and cd //<RootdriveLetter> i.e cd //g not working
From: [email-masked] (Jerzy Schubert)

7 Aug 1997 07:31:20 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Original-To: [email-masked]
In-Reply-To: <[email-masked]>
Original-Sender: [email-masked]

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

*** 1 Problem ***
mount =>

Device           Directory           Type        Flags
g:\gnuwin32\b18\H-i386-cygwin32 /usr                native      no-mixed,text=binary
g:\home          /home               native      no-mixed,text=binary
\\.\tape1:       /dev/st1            native      no-mixed,text=binary
\\.\tape0:       /dev/st0            native      no-mixed,text=binary
\\.\b:           /dev/fd1            native      no-mixed,text=binary
\\.\a:           /dev/fd0            native      no-mixed,text=binary
g:               /                   native      no-mixed,text=binary
-------------------------------------------------------------------------
in the root directory:
ls /usr	=>

X11R6.3
bin
etc
i386-cygwin32
lib
libexec
local
man
share
ucb
var
adm
local
-------------------------------------------------------------------------
ls usr  =>
ls: usr: No such file or directory
-------------------------------------------------------------------------

*** 2 Problem ***

sh-2.01$ cd /usr/local/sbin
sh-2.01$ ls
inetd.exe

sh-2.01$ ls
inetd.exe
sh-2.01$ cd //g
sh-2.01$ ls
inetd.exe

on  the other hand switching drives from g to e works
i.e cd //e; ls 
is ok,

but then,
cd //e/winnt/system32;ls
gives the contents of system32
cd //e;ls 
STIL gives the contents of system 32

Any ideas?

Jerzy

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".