delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/18/16:02:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 18 Apr 2003 16:02:44 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mount & ls
Message-ID: <20030418200244.GA26745@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20030418194522 DOT 26236 DOT qmail AT web40306 DOT mail DOT yahoo DOT com> <5 DOT 2 DOT 1 DOT 1 DOT 2 DOT 20030418125401 DOT 00fd5280 AT pop3 DOT cris DOT com>
Mime-Version: 1.0
In-Reply-To: <5.2.1.1.2.20030418125401.00fd5280@pop3.cris.com>
User-Agent: Mutt/1.4.1i

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/

- Raw text -


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