Setting cygdrive prefix to '/' causes disappearing mounts
Bernard Dautrevaux
Dautrevaux@microprocess.com
Tue Sep 19 05:16:00 GMT 2000
> -----Original Message-----
> From: Chris Faylor [ mailto:cgf@cygnus.com ]
> Sent: Tuesday, September 19, 2000 1:21 PM
> To: 'cygwin@sources.redhat.com'; cygwin@sourceware.cygnus.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@microprocess.com
b.dautrevaux@usa.net
--------------------------------------------
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list