delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/06/05:29:15

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 6 Sep 2000 13:26:14 +0400
From: Egor Duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: Egor Duda <cygwin AT sources DOT redhat DOT com>
Organization: DEO
X-Priority: 3 (Normal)
Message-ID: <16973640599.20000906132614@logos-m.ru>
To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
CC: cygwin AT sources DOT redhat DOT com
Subject: Re: DLL naming conventions
In-reply-To: <4.3.1.2.20000905103613.00b43d90@pop.ma.ultranet.com>
References: <20000905123712 DOT 13787 DOT qmail AT web119 DOT yahoomail DOT com>
<20000905123712 DOT 13787 DOT qmail AT web119 DOT yahoomail DOT com>
<4 DOT 3 DOT 1 DOT 2 DOT 20000905103613 DOT 00b43d90 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0

Hi!

Tuesday, 05 September, 2000 Larry Hall (RFK Partners, Inc) lhall AT rfk DOT com wrote:

LHRPI> At 10:31 AM 9/5/2000, Egor Duda wrote:
>>Tuesday, 05 September, 2000 Earnie Boyd earnie_boyd AT yahoo DOT com wrote:
>>EB> --- Chris Faylor <cgf AT cygnus DOT com> wrote:
>> >> 
>> >> Of course, if we ever write our "registry as a file system" module for
>> >> cygwin, you could have a tar file which extracted executables to /bin
>> >> and registry information to /registry/LocalMachine/Software/...
>> >> 
>>
>>EB> Hey, I like this.  So then, `ls /registry/LocalMachine/Software' should then
>>EB> list the registry.  Cool, just cool.
>>
>>not  so  cool  as  you  can think. i've implemented such "plugin" to
>>cygwin  somewhere  around 1998, and ls /registry/LocalMachine/Software
>>worked ok. and
>>
>>cat "/registry/CurrentUser/Software/Cygnus Solutions/Cygwin/mounts v2/cygdrive prefix"
>>
>>worked  ok  too. but when i dug into this, i couldn't find good mapping
>>from  registry  semantics  to  unix-stype  file  system semantics. for
>>example,  registry values can be of several different types -- string,
>>multistring,  binary,  dword, etc. what should this be looking like in
>>fs tree?
>>
>>putting  /registry/.../ into tar.gz should work, though, if only we'll
>>use string type values only.

LHRPI> Hm, just curious but did you look at what UWIN?  According to the 
LHRPI> documentation, they have such a file system.

i  looked at uwin, but on totally different subject. i wanted to know
how    they   implement  setuid(). yesterday i've installed it and see
that it has it's own quirks. for example,

=========================================================
$ mkdir /reg/current_user/Software/Foo
$ echo 123 >/reg/current_user/Software/Foo/bar
$ cat /reg/current_user/Software/Foo/bar
=0x7b
=========================================================

surprise!

you  had  to  write specially preformatted data to get what you really
need.    not    as    simple   as   in   plain   file   i/o,   where
what-you-put-is-what-you-get.

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019