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]

Re: Mounts and relative pathnames


On Tue, 10 Mar 1998, Larry Hall wrote:
> At 11:58 AM 3/9/98 -0500, Kenneth Chiu wrote:
> >I seem to have a problem with 'ls' and relative pathnames.  I have
> >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.
> 
> There you have to create a directory to mount to (in this case 'usr') 
> before the mount would succeed.  Now, granted, if you follow this procedure,
> its likely not going to work quite as you expect either.

Hmm...if I don't create the directory before the mount, then nothing
seems to show up if I go to the parent and do 'ls'.

-
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]