Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 X-X-Sender: elfyn AT ellixia Reply-To: cygwin AT cygwin DOT com To: andrew brian clegg cc: cygwin AT cygwin DOT com Subject: Re: Mount Windows registry into filesystem In-Reply-To: Message-ID: References: Mail-Followup-To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/