delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/13/01:40:16

From: jjf AT bcs DOT org DOT uk (J. J. Farrell)
Subject: Re: mounts, ls, and filename completion
13 Aug 1998 01:40:16 -0700 :
Message-ID: <199808121800.LAA18355.cygnus.gnu-win32@aleph.ssd.hal.com>
References: <19980811113605 DOT 2258 DOT rocketmail AT send103 DOT yahoomail DOT com>
Reply-To: jjf AT bcs DOT org DOT uk (J. J. Farrell)
To: earnie_boyd AT yahoo DOT com
Cc: pete AT horus DOT cix DOT co DOT uk, john_r_velman AT mail DOT hac DOT com, gnu-win32 AT cygnus DOT com

> From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
> 
> ---Pete Jordan <pete AT horus DOT cix DOT co DOT uk> wrote:
> > 
> > You need to create a directory with the same name as the mount
> > /before/ mounting it. For example:
> > 
> > 	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.

Now I'm thoroughly confused, on a couple of counts.

1) Why should Pete's version confuse the user and yours not? This
   user found Pete's version immediately easy and obvious to
   understand, but had to struggle for a while to understand yours.
   I suspect that what is confusing depends on your background.

2) You say that you should not create the directory before mounting
   on it as that confuses both the user and the software. By my
   reading, your version also creates the directory before mounting
   on it, but you say that won't confuse the software or the user.
   I take it that you don't really mean that creating the directory
   first will cause confusion, but I'd like to understand what you
   do mean - how and why will your version work but Pete's not?

Regards,
		jjf
-
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