Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
To: cygwin@sources.redhat.com
Subject: Re: Setting cygdrive prefix to '/' causes disappearing mounts
References: <20000915232050.A8958@cygnus.com>
	<Pine.GSO.4.10.10009160004330.23836-100000@newstaff>
	<20000916002450.A9313@cygnus.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Kazuhiro Fujieda <fujieda@jaist.ac.jp>
Date: 18 Sep 2000 05:11:28 +0900
In-Reply-To: Chris Faylor's message of Sat, 16 Sep 2000 00:24:50 -0400
Message-ID: <s1swvgau6bz.fsf@jaist.ac.jp>
Lines: 28
X-Mailer: Gnus v5.3/Emacs 19.34

>>> On Sat, 16 Sep 2000 00:24:50 -0400
>>> Chris Faylor <cgf@cygnus.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.
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 '/'.
____
  | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

