delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/27/09:24:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 27 Sep 2002 09:24:17 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Doru Carastan <ivbdcc AT pacbell DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: [Proposal] Moving user mount information to HKLM
In-Reply-To: <000b01c265df$b61ef630$4501a8c0@scrapbox>
Message-ID: <Pine.GSO.4.44.0209270916390.17538-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Thu, 26 Sep 2002, Doru Carastan wrote:

> How about breaking free from using the windoze registry.  There is
> absolutely no special need to use it IMO.  All the mount info can be stored
> in a plain ASCII file like 'cygwin.cfg'.   As part of its initialization the
> cygwin1.dll can use GetModuleFileName() to figure out from where it was
> loaded and attempt to parse a possible config file located in the same dir
> with it.  If this fails it will assume that it was loaded from /bin and
> attempt to read the config file from ../etc.  If this fails then it can
> throw an error or try to recover the old info from the registry and generate
> the file based on it.  Once it knows about the system mounts it will look in
> the user's home dir for something like .cygwinrc and get from there any user
> mounts and other settings like the ones set using the CYGWIN env variable.
>
> Let me know if I missed something.
>
> Thank you,
> Doru Carastan

This has been suggested by Chris Faylor on the cygwin-developers list
about 3 weeks ago.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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