Mail Archives: cygwin-developers/1999/01/22/05:51:46
On Thu, Jan 21, 1999 at 11:54:33PM -0800, Geoffrey Noer wrote:
>> I thought that since the automounts exist in the mount table, that
>> the binmode status of the automount would be the logical way to
>> control this.
>
>I meant using binmode status of the CYGWIN env variable to determine
>what binmode to associate with the automounts. The status would be
>stored in the same flags area as text or binmode for normal mounts.
>The problem is that since the user isn't choosing whether or not to
>add an automount, it's not possible for them to specify binmode in the
>standard way (an argument to the mount command).
>
>(Maybe I'm not understanding you?)
I thought that we agreed that the default would be text mode mounts. If
the user wants to change that then they override it by specifying -b to
the mount command along with whatever option is required to specify the
automount directory. Then files opened using /mycygdrive will have
whatever mode the user wants.
That leaves CYGWIN=[no]binmode as the method for specifying the CRLF
translation for devices and, possibly, std file handles inherited from
the command shell. That was my intent when I implemented this feature.
Although, now that I think of it, you can override devices with the
mount command, too.
cgf
- Raw text -