delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/19/09:34:47

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 19 Sep 2000 09:32:51 -0400
To: cygwin AT sources DOT redhat DOT com
Subject: Re: Setting cygdrive prefix to '/' causes disappearing mounts
Message-ID: <20000919093251.A28652@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sources DOT redhat DOT com
References: <17B78BDF120BD411B70100500422FC6309E0FE AT IIS000>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <17B78BDF120BD411B70100500422FC6309E0FE@IIS000>; from Dautrevaux@microprocess.com on Tue, Sep 19, 2000 at 02:07:08PM +0200

On Tue, Sep 19, 2000 at 02:07:08PM +0200, Bernard Dautrevaux wrote:
>> -----Original Message-----
>> From: Chris Faylor [mailto:cgf AT cygnus DOT com]
>>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?)

//a has always been available in cygwin.  Although its use is
deprecated, it has never been removed and it has nothing to do with
/cygdrive.

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

I'm not advocating that people set their /cygdrive to / and I will be
changing the example that mentions this.  However you seem to be fooled
by something that you haven't even tried.  Hopefully not too many other
people will imagine problems and refuse to empirically test them.

I characterize these kind of discussions as the "I wonder if it is
raining outside" variety.  Rather than wonder, stick your hand out of
the window and test for yourself.

Rather than speculate on what you think may be wrong, test the snapshot
and report on problems.

cgf

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