delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/19/12:15:23

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 11:58:22 -0400
To: cygwin AT sources DOT redhat DOT com
Subject: Re: Setting cygdrive prefix to '/' causes disappearing mounts
Message-ID: <20000919115822.A29518@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sources DOT redhat DOT com
References: <17B78BDF120BD411B70100500422FC6309E0FB AT IIS000> <20000919072128 DOT D27571 AT cygnus DOT com> <s1s66nsh3to DOT fsf AT jaist DOT ac DOT jp> <20000919102914 DOT C28844 AT cygnus DOT com> <s1s3diwgzlz DOT fsf AT jaist DOT ac DOT jp>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <s1s3diwgzlz.fsf@jaist.ac.jp>; from fujieda@jaist.ac.jp on Wed, Sep 20, 2000 at 12:39:36AM +0900

On Wed, Sep 20, 2000 at 12:39:36AM +0900, Kazuhiro Fujieda wrote:
>>>> On Tue, 19 Sep 2000 10:29:14 -0400
>>>> Chris Faylor <cgf AT cygnus DOT com> said:
>
>> >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.
>
>That's right. I'm sorry the point of issue wasn't clear in my
>mail. In your previous mail, your explanation was right
>concerning the result. There was a slip in the reason of it.

Ah.  You're right.  It doesn't do a longest match first in the case of
cygdrive.  Cygwin checks for /cygdrive/[some alphabetic character]
first before scanning the mount table.

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