From: dj AT delorie DOT com (DJ Delorie) Subject: Re: Mount improvements finished 30 Jan 1999 16:23:12 -0800 Message-ID: <199901310020.TAA05286.cygnus.cygwin32.developers@envy.delorie.com> References: <19990130174503 DOT A17617 AT cygnus DOT com> To: cgf AT cygnus DOT com Cc: fujieda AT jaist DOT ac DOT jp, noer AT cygnus DOT com, cygwin32-developers AT cygnus DOT com > >/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? Because path.cc will see the d:->/cygdrive/d entry before the D:\binary->/binary entry, so paths will be translated via that entry and get the textmode flag. > 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. What it should say is that any files on D:, except for those in D:\binary, should be textmode. I think this is a sorting problem in path.cc.