Mail Archives: cygwin/2004/09/03/08:59:00
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 -