delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/03/08:59:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 3 Sep 2004 08:58:47 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: linda w <cygwin AT tlinx DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: /proc registry access
In-Reply-To: <413831C5.6010803@tlinx.org>
Message-ID: <Pine.GSO.4.61.0409030853530.28876@slinky.cs.nyu.edu>
References: <413831C5 DOT 6010803 AT tlinx DOT org>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Fri, 3 Sep 2004, linda w wrote:

> 2 questions on the registry access in /proc.
> 1) Any idea on why find would choke on registry subtrees containing ":"?  Is
> some part of the path expansion going through Windows?

Yes.  Cygwin will not process paths that contain a ":" -- perhaps
erroneously, as it should probably check that the ":" is the second
character, preceded by a letter.  <http://cygwin.com/acronyms/#PTC>.

> 2) The user-guide implies read-write access to the registry-fs:
>
> "As anytime you deal with the Windows registry, use caution since
> changes may result in an unstable or broken system."
>
>    But I tried removing a value (that I can remove through regedit)
> and get a "read-only filesystem" error message.  Is there something
> I need to do to make it writeable?

Yes -- submit a patch to Cygwin. ;-)

Seriously, though, the /proc/registry handler does not support write
access to the registry.  The above is a standard disclaimer, though I
believe whoever put this in the description of /proc/registry was a bit
overzealous.

FWIW, if you want to use Cygwin tools to manipulate the registry, you can
use 'regtool'.

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

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