delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/18/15:56:08

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
X-envelope-info: <rrschulz AT cris DOT com>
Message-Id: <5.2.1.1.2.20030418125401.00fd5280@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Fri, 18 Apr 2003 12:56:20 -0700
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: mount & ls
In-Reply-To: <20030418194522.26236.qmail@web40306.mail.yahoo.com>
Mime-Version: 1.0

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 Schulz


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?
>
>Doug Jenkinson


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