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: Mount Windows registry into filesystem


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@emcb.co.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/


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