delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/15/00:51:09

From: chiuk AT cs DOT indiana DOT edu (Kenneth Chiu)
Subject: Re: Mounts and relative pathnames
15 Mar 1998 00:51:09 -0800 :
Message-ID: <Pine.BSF.3.96.980312000031.377C-100000.cygnus.gnu-win32@localhost>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980310104531 DOT 009b8e40 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0
To: Larry Hall <lhall AT rfk DOT com>
Cc: gnu-win32 AT cygnus DOT com

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

- Raw text -


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