This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fwd: Bug: Perl:IsWinNT undefined & RFE, only use "/" in reg values, not names..?]


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]