delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/12/14:40:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 12 Feb 2004 14:39:52 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: [Fwd: Bug: Perl:IsWinNT undefined & RFE, only use "/" in reg values, not names..?]
In-Reply-To: <20040212185734.GC16089@redhat.com>
Message-ID: <Pine.GSO.4.56.0402121405220.17555@slinky.cs.nyu.edu>
References: <402BC0EE DOT 9070203 AT tlinx DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0402121322370 DOT 17555 AT slinky DOT cs DOT nyu DOT edu> <20040212185734 DOT GC16089 AT redhat DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 12 Feb 2004, Christopher Faylor wrote:

> On Thu, Feb 12, 2004 at 01:44:24PM -0500, Igor Pechtchanski wrote:
> >The only mechanism I can think of that is adversely affected by this
> >convention is /proc/registry, because of its attempt to map the
> >registry onto a filesystem.  Because the registry doesn't have the same
> >set of invalid characters in names as the underlying filesystem, this
> >mapping sometimes fails, as in the case of mounts values.  It might be
> >possible to change the /proc/registry implementation to translate "/"s
> >in key and value names to valid character combinations (e.g., URL
> >encoding).  PTC.
>
> I've toyed with the idea of making /proc/registry a managed mount but
> since managed mounts don't allow '/' in a filename either, that would
> require some additional work on the managed stuff.
>
> cgf

IMO, this is different than a managed mount[*].  Managed mounts provide a
transparent encoding of characters that are invalid in the underlying
filesystem, which isn't visible at the user level.  Since /proc/registry
is a virtual filesystem, it doesn't really need this, and neither does the
encoding need to be transparent.  As long as the user can unambiguously
specify the value, whatever method is used should be fine...
	Igor
[*] Of course, since managed mounts use URL encoding under the covers,
some of the code can certainly be reused. :-)
-- 
				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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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