www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/09/12:44:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_50
X-Spam-Check-By: sourceware.org
Message-ID: <49B55533.40206@t-online.de>
Date: Mon, 09 Mar 2009 18:43:15 +0100
From: Christian Franke <Christian DOT Franke AT t-online DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.25: Regtool can not find registry?
References: <20090306152153 DOT GB14325 AT raven DOT wolf DOT lan>
In-Reply-To: <20090306152153.GB14325@raven.wolf.lan>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Josef Wolf wrote:
> But then I decided to remove and reinstall it.  (I reinstalled cygwin
> only, not the whole machine).  Since the reinstall, regtool refuses to
> work.  It always complains that it can not find the specified file.
> Strange enough, cygcheck _is_ able to read information from the
> registry.
>
> Here are examples of what I get:
>
>   $ regtool get '/HKLM/SOFTWARE/Cygnus Solutions/Cygwin
>   Error (2): Das System kann die angegebene Datei nicht finden.
>   $ regtool get '/HKLM/SOFTWARE/Cygnus Solutions/Cygwin/mounts v2'
>   Error (2): Das System kann die angegebene Datei nicht finden.
>
> Any ideas how to track down this problem?
>
>   

There is no problem in the above commands. Both pathnames specify 
existing registry keys, but 'regtool get' reads registry values, which 
don't exist in this case.

The following should work:

$ regtool list '/HKLM/SOFTWARE/Cygnus Solutions/Cygwin/mounts v2'
/
/usr/bin
/usr/lib
cygdrive prefix
cygdrive flags

$ regtool get '/HKLM/SOFTWARE/Cygnus Solutions/Cygwin/mounts v2/cygdrive 
prefix'
/cygdrive


-- 
Christian Franke


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