delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/17/17:37:49

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: Sun, 17 Sep 2000 17:36:25 -0400
To: cygwin AT sources DOT redhat DOT com
Subject: Re: Setting cygdrive prefix to '/' causes disappearing mounts
Message-ID: <20000917173625.A25898@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sources DOT redhat DOT com
References: <20000915232050 DOT A8958 AT cygnus DOT com> <Pine DOT GSO DOT 4 DOT 10 DOT 10009160004330 DOT 23836-100000 AT newstaff> <20000916002450 DOT A9313 AT cygnus DOT com> <s1swvgau6bz DOT fsf AT jaist DOT ac DOT jp>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <s1swvgau6bz.fsf@jaist.ac.jp>; from fujieda@jaist.ac.jp on Mon, Sep 18, 2000 at 05:11:28AM +0900

On Mon, Sep 18, 2000 at 05:11:28AM +0900, Kazuhiro Fujieda wrote:
>>>> On Sat, 16 Sep 2000 00:24:50 -0400
>>>> Chris Faylor <cgf AT cygnus DOT com> said:
>
>> She's also probably the most recent person, excluding me, to look at the
>> mount code.   Hmm... with the possible exception of Kazuhiro Fujieda and
>> Jason Tishler.
>
>I know the cause of this problem. `mount_info::read_mounts' can
>delete all registry keys of which names include the current
>cygdrive prefix.  When I rewrited the mount code sometime ago,
>I noticed this logic and preserved it.
>
>The mount code doesn't allow mount entries under the cygdrive
>prefix at all. But it let us change the cygdrive prefix into a
>parent directory of existing mount entries. After that, it
>rejects them.
>
>We have two alternatives to solve this problem.
>1. Allow mount entries under the cygdrive prefix.

Is that to disallow remounting /cygdrive/a as something besides a:?
That doesn't seem worth it, IMO.

>2. Keep the cygdrive prefix away from parent directories of
>   existing mount entries.
>
>I can't find possible problems triggered by the former solution.
>The latter solution won't let us change the cygdrive prefix into '/'.

I think that the 1. is fine, if you're willing to change it.

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