This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: mount & ls


On Fri, Apr 18, 2003 at 12:56:20PM -0700, Randall R Schulz wrote:
>Doug,
>
>Mounting creates a record internal to Cygwin. In a classic Unix file 
>system where the direct closes counterpart to the Cygwin mount 
>originated, the directory onto which a file system device or partition 
>was to be mounted had to exist.
>
>So the answer is, just mkdir the mount-point directory (as you'd have 
>to in Unix). When the mount is not in effect, you'll see what's in the 
>mount-point directory. When the mount is in effect, you'll see the 
>contents of the mounted directory instead.
>
>The same goes to get completion to work.

Randall, I think you missed a key problem here.  The "path on the left"
in mount is a DOS path, not a cygwin path.  So the command should be:

bash$ mount d:/download $HOME/download

assuming HOME is set to something sensical.

cgf

>At 12:45 2003-04-18, Doug Jenkinson wrote:
>>Hi,
>>I'm relatively new here, but I have a question about mount.
>>
>>I would like to mount a directory into my home directory.  So, I use
>>the command "mount -f -u /cygdrive/d/download $HOME/download" assuming,
>>of course, that D:\Download exists.  Now, if I execute "ls ~", why
>>don't I see the download directory?  Why can I see mounted directories
>>in the /cygdrive?
>>
>>Am I asking for the impossible or is there another way?
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam at sourceware dot org
and be permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]