delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/07/07:31:20

From: jsc AT ppe DOT bb-data DOT de (Jerzy Schubert)
Subject: local paths and cd //<RootdriveLetter> i.e cd //g not working
7 Aug 1997 07:31:20 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.LNX.3.95.970807115909.1031B-100000.cygnus.gnu-win32@crusher.ppe.bb-data.de>
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: <9708061626.AA40482@hagar.aspentec.com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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