Setting cygdrive prefix to '/' causes disappearing mounts

Chris Faylor cgf@cygnus.com
Tue Sep 19 08:59:00 GMT 2000


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@cygnus.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@sourceware.cygnus.com



More information about the Cygwin mailing list