delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/12/05:20:03

From: pete AT horus DOT cix DOT co DOT uk (Pete Jordan)
Subject: Re: mounts, ls, and filename completion
12 Aug 1998 05:20:03 -0700 :
Message-ID: <memo.19980812004430.2213X.cygnus.gnu-win32@horus.horus.cix.co.uk>
References: <19980811113605 DOT 2258 DOT rocketmail AT send103 DOT yahoomail DOT com>
Reply-To: pete AT horus DOT cix DOT co DOT uk
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Earnie Boyd <earnie_boyd AT yahoo DOT com> wrote:

> > 	mkdir /foo
> > 	mount -b D:/ /foo
> > 
> 
> Only if your on UNIX and this ain't UNIX.  As a matter of fact, it is
> best _NOT_ to create the directory first as it only confuses you the
> user _AND_ cygwin32 the emulation filesystem.
> 
> Now if you were to do:
>       mkdir //d/foo
>       mount -b //d/foo /foo
> that would be perfectly acceptable and would not confuse you or
> cygwin32.

Can you expand on this? My experience is that creating the underlying 
directory and them mounting both works and causes no problems (and, 
indeed, I've now documented as such on my website). A definical method for 
creating mounts that don't prevent filename completion working would be a 
/very/ welcome piece of information.

(In particular, the example you give seems entirely pointless - what 
exactly does 'mkdir //d/foo' do? The target directory already exists, so 
what gets created?)

Pete Jordan ~ Horus Communications Ltd ~ http://www.horus.cix.co.uk/

"'Not twisted,' Salzy once said of her own passion, 'it is helical.
 That sounds better.'"
-
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