This is the mail archive of the
mailing list for the Cygwin project.
Re: Mount Windows registry into filesystem
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Brian Dessent <brian at dessent dot net>
- Cc: cygwin at cygwin dot com
- Date: Mon, 7 Jul 2003 22:40:00 -0400 (EDT)
- Subject: Re: Mount Windows registry into filesystem
- Reply-to: cygwin at cygwin dot com
On Mon, 7 Jul 2003, Brian Dessent wrote:
> Corinna Vinschen wrote:
> > On Mon, Jul 07, 2003 at 09:19:57AM +0100, William S Fulton wrote:
> > > Is it possible to mount the registry into the filesystem?
> > It is already. Try `ls -l /proc/registry'
> Neat. Is there any way to tell the type of the key's value using this
> interface? For example if I wanted to modify a key's value through
> "echo foo > /prog/registry/.../Key", how do I tell Cygwin that I want
> the type to be REG_EXPAND_SZ, REG_DWORD, REG_MULTI_SZ, REG_SZ, etc?
You don't. /proc/registry is read-only. If you want to modify the
registry, use regtool.
> Conversely is there a way to determine the type when reading? It
> appears that Cygwin does what you expect (e.g. returning a \0 delimited
> list for REG_MULTI_SZ) but is there any way to ask it directly?
Not that I know of. Look at fhandler_registry.cc for implementation
> This is yet another really cool Cygwin feature that I had no idea about
> until now... :-)
It pays to read the release notes... ;-)
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html