delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/28/12:41:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3C052192.80506@cportcorp.com>
Date: Wed, 28 Nov 2001 12:40:34 -0500
From: Peter Buckley <peter DOT buckley AT cportcorp DOT com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: After upgrading to latest Cygwin, "ls /c/" works, but not "ls /e/ "
References: <EB19A8A38B497D4FA6C88EADE3A8607F0EB2CF AT cf-bay-exch-04 DOT cacheflow DOT com>

I don't think that "ls /c/" should work. Based on your mountpoints, "ls 
/c/" should list the contents of the "c" subdirectory in your cygwin 
directory, since C:\cygwin is mounted to "/".

I am currently using 1.3.3-2 and I can't do "ls /c/" or "ls /e/", they 
both say "No such file or directory".

You can check the mailing list archives for how to change your default 
cygdrive prefix so you can address all your drives as "//c" or "//e" 
(IIRC, you change the default prefix to "/" to do this). I don't know if 
you can change the default cygdrive prefix to "" (nothing), so root 
would be somewhat equivalent to "My Computer". Then "ls /c/" and "ls 
/e/" should both work. But I don't know if the cygdrive prefix can be 
nothing.

HTH,
Peter

Karr, David wrote:

> I have drives "C" and "E".  Before upgrading this morning, I was at version
> 1.3.2.  After upgrading, I can do "ls /c/" to see the contents of my C
> drive.  However, doing "ls /e/" says "No such file or directory".  Both
> "/cygdrive/c" and "/cygdrive/e" work.
> 
> My mount output is:
> 
> C:\cygwin\bin on /usr/bin type system (binmode)
> C:\cygwin\lib on /usr/lib type system (binmode)
> C:\cygwin on / type system (binmode)
> c: on /cygdrive/c type user (binmode,noumount)
> e: on /cygdrive/e type user (binmode,noumount)
> 
> I scanned the archives for something about this, but I couldn't find
> anything.  I noticed the FAQ entry "How can I access other drives", which
> gave me some things to try.
> 
> I then tried the following:
> 
> % mount -s e: /e
> mount: warning - /e does not exist.
> 
> Then I did this:
> 
> % mkdir /e
> mkdir: cannot create directory `/e': File exists
> 
> and then:
> 
> % ls /e
> {files in "e:/"}
> 
> That is, it listed the files in "e:/".  I then tried the original "/e/" and
> that also worked.
> 
> Also note this:
> 
> % ls /c
> /c@
> 
> Whereas "ls /e" listed "e:/".
> 
> Could someone explain what I'm seeing here?
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 


-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]

--


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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