This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

local paths and cd //<RootdriveLetter> i.e cd //g not working


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
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]