delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/19/08:29:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <17B78BDF120BD411B70100500422FC6309E0FE@IIS000>
From: Bernard Dautrevaux <Dautrevaux AT microprocess DOT com>
To: "'cygwin AT sources DOT redhat DOT com'" <cygwin AT sources DOT redhat DOT com>,
cygwin AT sourceware DOT cygnus DOT com
Subject: RE: Setting cygdrive prefix to '/' causes disappearing mounts
Date: Tue, 19 Sep 2000 14:07:08 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

> -----Original Message-----
> From: Chris Faylor [mailto:cgf AT cygnus DOT com]
> Sent: Tuesday, September 19, 2000 1:21 PM
> To: 'cygwin AT sources DOT redhat DOT com'; cygwin AT sourceware DOT cygnus DOT com
> Subject: Re: Setting cygdrive prefix to '/' causes disappearing mounts
> 
	<skipped>
> 
> Did you actually look at the patch or are you just speculating?

I'm mainly speculating on how I would understand changing "/cygdrive" by
"/": I've always expected this to suppress "cygdrive", thus changing
"/cygdrive/a" in "//a"; I've probably read too fast when I'll see somewhere
that we can get the old, B20, behaviour, assuming it was by setting the
cygpath prefix to "/" instead of "/cygdrive".

So IIUC it's no more possible to get a: mounted on //a only (as it seems
that /cygdrive/a is still accessible as //a, or is it due to some quirk I've
done and don't remember?)

> 
> I don't know what "matching code" you are referring to but 
> the patch is
> correct.  Cygwin used to umount any directory that was a 
> subdirectory of
> a cygdrive path.  Now it doesn't.

What I've said is that, from a user point of view, to get a: mounted as /a,
I would have expected setting the cygdrive prefix to the empty string, while
setting it to "/" would have mounted a: as //a; I agree its acceptable to
mount it as "/a" when the prefix is "/", but it's counter-intuitive and I
think a some people may get fooled by this (as I was).
 
> 
> However, if you think that something is wrong with the patch, I'm sure
> that both Kazuhiro and I would both love to see a correction.

For me the patch is OK: being able to explicitely mount things under
/cygdrive (or whatever it's named) is OK; there was just a misunderstanding
on what exactly was the cygdrive prefix...

	Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux AT microprocess DOT com
		b DOT dautrevaux AT usa DOT net
-------------------------------------------- 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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