delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/01/30/20:04:54

From: cgf AT cygnus DOT com (Christopher Faylor)
Subject: Re: Mount improvements finished
30 Jan 1999 20:04:54 -0800 :
Message-ID: <19990130224251.A18773.cygnus.cygwin32.developers@cygnus.com>
References: <19990130235938 DOT 16675 DOT rocketmail AT send105 DOT yahoomail DOT com>
Mime-Version: 1.0
To: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>, Geoffrey Noer <noer AT cygnus DOT com>
Cc: cygwin32-developers AT cygnus DOT com

On Sat, Jan 30, 1999 at 03:59:38PM -0800, Earnie Boyd wrote:
>> On Sat, Jan 30, 1999 at 11:18:32PM +0900, Kazuhiro Fujieda wrote:
>> >>>> On Wed, 27 Jan 1999 14:47:16 -0800
>> >>>> Geoffrey Noer <noer AT cygnus DOT com> said:
>> >
>> >> Any comments are welcome, especially bug reports.
>> >
>> >I don't like an automount often overrides flags of a normal
>> >mount. For example, I mount D:/binary to /binary with binmode.
>> >
>> >    ~$ mount
>> >    Device              Directory           Type         Flags
>> >    D:\binary           /binary             user         binmode
>> >    C:                  /                   user         binmode
>> >
>> >Then I change the current directory to `d:'.
>> >
>> >~ $ cd d:
>> >/cygdrive/d $ mount
>> >Device              Directory           Type         Flags
>> >d:                  /cygdrive/d         user,auto    textmode
>> >D:\binary           /binary             user         binmode
>> >C:                  /                   user         binmode
>> >
>> >Now /binary is handled with textmode !!
>> 
>> Why do you come to the conclusion that files created in /binary will
>be
>> handled with text mode?  Have you actually observed this behavior?  If
>> so, that's a bug.  What the above mount table should say is that any
>> files created in the root of the D: drive will be created using text
>> mode.
>> 
>
>However, if the default mode of the automount had been whatever the
>mode of / was set to then this message wouldn't have even of been
>sent.  The flags of /cygdrive/d should be binmode and not textmode
>because / is binmode.  This will keep the complaints to a minimum.

Unless, of course, the mode of / was set to textmode, in which case
the message would have been sent.  If this is a problem you can set
binmode for your automounts.

Kazuhiro has uncovered a real bug.  Thank you.

cgf

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019