www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/01/22/09:21:23

From: lhall AT rfk DOT com (Larry Hall RFK Partners, Inc)
Subject: Re: Answer to your text == binary question
22 Jan 1999 09:21:23 -0800 :
Message-ID: <3.0.3.32.19990122115309.0095b600.cygnus.cygwin32.developers@pop.ma.ultranet.com>
References: <19990122112751 DOT A27221 AT cygnus DOT com>
Mime-Version: 1.0
To: Christopher Faylor <cgf AT cygnus DOT com>, Geoffrey Noer <noer AT cygnus DOT com>
Cc: cygwin32-developers AT cygnus DOT com

At 11:27 AM 1/22/99 -0500, Christopher Faylor wrote:
>On Fri, Jan 22, 1999 at 10:21:11AM -0500, Larry Hall (RFK Partners, Inc) wrote:
>>   1. If modes can be easily reset on automounts BEFORE the user actually 
>>      uses, any pre-defined default mode is adequate.  
>
>I think that it should be something like:
>
>	mount -b --change-automount-root /larry-cygwin-drives
>
>>   2. If modes cannot be set on some/any automounts before the user uses it,
>>      we need a way to remove this limitation.
>
>The limitation is to use regular mount in that case.
>
>>   3. The mechanism to remove the limitation should be simple to use and
>>      preferably not introduce new syntax if possible while not muddying 
>>      existing conventions.
>
>Well the automount-root (on reflection this is probably a confusing
>name because it sounds like it has something to do with "/") certainly 
>is a change but I think that it has the ability to do the right thing
>in a way that makes sense.
>
>I regret that CYGWIN=binmode behavior ever polluted disk mounts.
>That wasn't what I intended and was, from my perspective, a bug.
>
>-chris

OK, I think my concern was that the "automount" would happen "on-the-fly" in
certain cases (something similar to when the user addresses a partition with
the current "drive" syntax of "//<drive>/").  In these cases, it may not be
possible to change the mode before the user performs the desired operation 
(at least for the first one).  For example, the user can currently do 
something like "cp //d/foo ."  My understanding of what Geoffrey was saying is 
that this will change to "cp d:/foo ." (or something similar... I lost his 
original message now!:-() with a mount being created for d:/ in /cygdrive.  If 
this is the case, there needs to be a way to specify the user's default 
preference for the mode of this mount so that even the "cp" command gets it 
right.  If after the fact, the mount still exists (and it sounds like it 
would), it would then be possible to change the mode for subsequent uses
but this is both cumbersome and, more importantly, doesn't help the "cp".
Reading through your responses, I was struck by the idea that you were 
suggesting that the things mounted under the "automount" root would assume
the mode of the root.  If this is the case, it is like the "/" idea that
Earnie and Corinna liked, although I like it better since it relates 
specifically to the mounts which are "automounted" (where "/" may have been
remounted for a different purpose and may not reflect the user's default
mode preference for "automounts").  Assuming that this "automount" root
can be created and/or set apriori and that its mode would be the default 
for all things under it, I think that addresses my concern.  If it was not
your intention to imply this Chris, forgive me for putting words in your
mouth!  It may still be a good idea though!;-)  Did I miss a point of
yours relative to the long-winded discussion of my concern?


Larry Hall                             lhall AT rfk DOT com
RFK Partners, Inc.                     (781) 239-1053
8 Grove Street                         (781) 239-1655
Wellesley, MA, 02482-7797              http://www.rfk.com

- Raw text -


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