/dev/registry

Corinna Vinschen cygwin@cygwin.com
Mon Feb 4 00:36:00 GMT 2002


On Mon, Feb 04, 2002 at 08:21:05AM +0100, Gerald Villemure wrote:
> > /proc/registry/*
> >
> > is a GREAT idea!
> 
> > (*) P.S. "back then" somebody mentioned a few problems with file-system
> > access to registry entries:  how do you deal with the various types --
> > DWORD, BINARY, STRING, (and the other types that AREN'T accessible
> > via regedit...)
> 
> Why not use a file name extention (vary microsoft like thing to do)
> 
> First lets use standard Root key Name Abbreviations
> HKEY_CURRENT_USER        HKCU
> HKEY_LOCAL_MACHINE    HKLM
> HKEY_CLASSES_ROOT        HKCR
> HKEY_USERS                         HKEY_USERS
> HKEY_CURRENT_CONFIG  HKEY_CURRENT_CONFIG
> 
> As for value data types, we could use:
> REG_SZ                     .sz
> REG_DWORD          .dword
> REG_BINARY          .binary
> REG_EXPAND_SZ  .expand
> REG_MULTI_SZ      .mutli
> 
> So this:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
> "WinVNC"="data goes here"
> 
> would become:
> /proc/registry/HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Run/WinVNC.sz
> 
> Good or bad idea?

Good.  Now you just have to implement /proc/registry in Cygwin.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/



More information about the Cygwin mailing list