Mail Archives: cygwin-developers/1999/01/30/20:04:54
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 -