delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/08/06:35:56

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
Date: Tue, 8 Jul 2003 11:35:45 +0100
From: Elfyn McBratney <elfyn AT emcb DOT co DOT uk>
X-X-Sender: elfyn AT ellixia
Reply-To: cygwin AT cygwin DOT com
To: andrew brian clegg <a DOT clegg AT mail DOT cryst DOT bbk DOT ac DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: Mount Windows registry into filesystem
In-Reply-To: <Pine.LNX.4.44.0307081129080.17066-100000@sark.cryst.bbk.ac.uk>
Message-ID: <Pine.CYG.4.55.0307081134200.4008@ellixia>
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0307081129080 DOT 17066-100000 AT sark DOT cryst DOT bbk DOT ac DOT uk>
Mail-Followup-To: cygwin AT cygwin DOT com
MIME-Version: 1.0

On Tue, 8 Jul 2003, andrew brian clegg wrote:

>
> On Mon, 7 Jul 2003, Igor Pechtchanski wrote:
>
> > > 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
> > details.
>
> Suggestion to those who know about these things: being able to go
>
> file /proc/registry/HKEY_CURRENT_USER/blahblahblah
>
> and have it return the type would be way cool. Or would that involve a
> really ugly hack?

Kinda, 'cos `file' uses stock source (i.e. fileutils) and this would require
changing it somewhat. It wouldn't be hard to add this as an option to regtool,
however.

Elfyn

-- 
Elfyn McBratney, EMCB
http://www.emcb.co.uk
elfyn AT emcb DOT co DOT uk



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