On Fri, 17 Aug 2012 16:51:44 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= wrote:
> The Windows registry is accessible through the file system? Or is this
> a file system like api in UWIN?

if you dig into win32 with UNIX glasses on
you will see time and again ~10 function apis to access resources
that could have been done in the filesystem with no api changes required

the registry is one instance of that
the plethora of functions to handle 32 vs 64 bit in the registry/filesystem is 
another

so no, the registry is not accesible via win32 filesystem calls
but through UWIN it is

the maddening part is that there is no pattern to these apis
if you learn one there is no guarantee that you can use that knowledge
to predict the api calls and/or semantics of the next

UWIN provides UNIX pathnames and filesystem, modulo case-ignorance
and leverages that to hide the win32 apis that should have never been exposed 
in the first place
like the registry and wow 32/64

UNIX implementations have had similar problems but somewhat more controlled 
than win32
they are finally coming around with /proc and /sys
if only the IP namespace were done in the filesystem ...

the filesystem is a beautiful thing
hang new semantics on it and chances are
*we already have the commands and system calls to access and manipulate it*

_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users

Reply via email to