delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/01/30/16:39:47

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: Mount improvements finished
30 Jan 1999 16:39:47 -0800 :
Message-ID: <19990130235938.16675.rocketmail.cygnus.cygwin32.developers@send105.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: Christopher Faylor <cgf AT cygnus DOT com>,
Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>,
Geoffrey Noer <noer AT cygnus DOT com>
Cc: cygwin32-developers AT cygnus DOT com

---Christopher Faylor <cgf AT cygnus DOT com> 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.
==
-                        \\||//
-------------------o0O0--Earnie--0O0o-------------------
--                earnie_boyd AT yahoo DOT com               --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


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