This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Proposal] Moving user mount information to HKLM


This is totally great news. I don't monitor the deloper list but it is great
to hear that my http://www.cygwin.com/ml/cygwin/2002-02/msg00805.html
suggestion is being considered. I am totally sorry about the fact that I
couldn't get the time to work on it.

Thanks Igor,
Doru Carastan

----- Original Message -----
From: "Igor Pechtchanski" <pechtcha@cs.nyu.edu>
To: "Doru Carastan" <ivbdcc@pacbell.net>
Cc: <cygwin@cygwin.com>
Sent: Friday, September 27, 2002 6:24 AM
Subject: Re: [Proposal] Moving user mount information to HKLM


> 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@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_ igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]