This is the mail archive of the cygwin@sources.redhat.com 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]

Re: DLL naming conventions


Hi!

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

LHRPI> At 10:31 AM 9/5/2000, Egor Duda wrote:
>>Tuesday, 05 September, 2000 Earnie Boyd earnie_boyd@yahoo.com wrote:
>>EB> --- Chris Faylor <cgf@cygnus.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@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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