[Registry] Re: LinuxRegistry in Freedesktop & KDE

Avi Alkalay avi at unix.sh
Wed Apr 21 18:42:07 EEST 2004


>   Sincerely, /etc offers some nice custom solutions. The problem is (I 
> believe) quite similar to the options an executable receives. One can use 
> getopt/getoptlong for that, but can make it more efficient if he only
> expects 
> one parameter.

I didn't get it. What do you mean about getopt?






>   Really, I would love a solution similar to /proc. A virtual filesystem,
>   with 
> plenty of files (like the LR :) ), (of course, there should be support in
> the 
> kernel).

But anyway you'll need a storage. And this is a too user-level issue to
bother the kernel.






> In fact, I think that /proc is a lot saner than anything else
> I've 
> seen - even Microsoft's Registry - that is because it has attached
> actions 
> when you use that file (key).

Except that it only works for the kernel because it goes directly in its
memory. You'll need a sort of storage for user-level apps.



>   I really think that the idea above should be a bit popularised - I wish
>   I 
> would write about it myself on the list, but as I saw I have to become
> member 
> or get moderated, and I don't know if anyone is interested in a
> neophyte's 
> idea.
>   Dorin
> 

-- 
http://www.fastmail.fm - Faster than the air-speed velocity of an
                          unladen european swallow




More information about the xdg mailing list