delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/07/22:32:59

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
Message-ID: <3F0A2D4B.BBBE8BBF@dessent.net>
Date: Mon, 07 Jul 2003 19:32:43 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
X-Accept-Language: en,en-US
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Mount Windows registry into filesystem
References: <3F092D2D DOT 6010709 AT fultondesigns DOT co DOT uk> <20030707093537 DOT GJ1165 AT cygbert DOT vinschen DOT de>

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

This is yet another really cool Cygwin feature that I had no idea about
until now... :-)

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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