From: earnie_boyd@hotmail.com (Earnie Boyd)
Subject: Re: Mounts and relative pathnames
12 Mar 1998 23:19:28 -0800
Message-ID: <19980312124257.1311.qmail.cygnus.gnu-win32@hotmail.com>
Content-Type: text/plain
To: chiuk@cs.indiana.edu
Cc: gnu-win32@cygnus.com

>Date: Wed, 11 Mar 1998 23:59:49 -0500 (EST)
>From: Kenneth Chiu <chiuk@cs.indiana.edu>
>Reply-To: Kenneth Chiu <chiuk@cs.indiana.edu>
>To: Earnie Boyd <earnie_boyd@hotmail.com>
>cc: gnu-win32@cygnus.com
>Subject: Re: Mounts and relative pathnames
>
>On Tue, 10 Mar 1998, Earnie Boyd wrote:
>> >searched the FAQ and the mailing list archives, but haven't found
>> >anything.  Suppose I do the following sequence:
>> >
>> >    mount N:/root /
>> >    mount N:/dir1 /usr
>> >    cd /
>> >    ls usr
>> >
>> >I would expect to see the contents of N:/dir1, but instead I see
>> >nothing.  If I type 'ls /usr', I see what I expect, so I think I'm
>> >executing the correct 'ls'.  If I type 'cd usr', and then 'ls', I
>> >also see what I expect.
>> 
>> Is there a physical directory name N:\root\usr?  If so then things 
will 
>> get confused/confusing.  Cygwin.dll will not know how to handle this 
>> instance, and will not handle it the same everytime.
>
>Yes, there is a real directory N:\root\usr.  Without it, usr does
>not show up if I first do a 'cd \' and then an ls.

Are you executing programs from MSDOS or do you use BASH?  Does your 
PATH environment variable include the 
[C-Z]:\cygnus\B19\H-i386-cygwin32\bin directory first?  If not, are you 
certain that you don't have another ls.exe in your path?

From BASH you can issue "type ls" to get the full path of the ls 
command.

-        \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd@hotmail.com-
------ooo0O--O0ooo-------



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
