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
From: Chris Faylor <cgf@cygnus.com>
Date: Tue, 19 Sep 2000 10:29:14 -0400
To: cygwin@sources.redhat.com
Subject: Re: Setting cygdrive prefix to '/' causes disappearing mounts
Message-ID: <20000919102914.C28844@cygnus.com>
Reply-To: cygwin@sources.redhat.com
Mail-Followup-To: cygwin@sources.redhat.com
References: <17B78BDF120BD411B70100500422FC6309E0FB@IIS000> <20000919072128.D27571@cygnus.com> <s1s66nsh3to.fsf@jaist.ac.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.6i
In-Reply-To: <s1s66nsh3to.fsf@jaist.ac.jp>; from fujieda@jaist.ac.jp on Tue, Sep 19, 2000 at 11:08:35PM +0900

On Tue, Sep 19, 2000 at 11:08:35PM +0900, Kazuhiro Fujieda wrote:
>>>> On Tue, 19 Sep 2000 07:21:28 -0400
>>>> Chris Faylor <cgf@cygnus.com> said:
>
>> >I think the matching code is wrong; what should probably be avoided is
>> >either setting the cygdrive prefix to "", or to "/.", because then /bin
>> >would be under cygdrive, but setting the cygdrive prefix to "/" should
>> >*not* cause problems for "/bin"; it could however cause problems with
>(snip)
>> That's not how it works.  That mount logic does maximum length matching,
>> so /bin is matched first.  Have you even tried this?
>
>I'm afraid there is a slip. As I see it, the mount logic tries
>the pattern matching with "<cygdrive prefix>[a-zA-Z]\(/\|$\)" at
>first, so /bin wouldn't be under cygdrive.

I don't follow.  I've actually tried this.  I set the cygdrive prefix to '/'
and then did a 'ls -l /bin'.  The result was my /bin directory, as expected.
Also, performing a 'ls -l /' showed me the expected root directory.

cgf

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

