[wellylug] Re: Registry type question
sljudd at paradise.net.nz
sljudd at paradise.net.nz
Wed Nov 6 10:15:03 NZDT 2002
Quoting Grant McLean <grantm at web.co.nz>:
> Peter Jones wrote:
> > Does Linux have anything directy equivalent to the
> > Windows registry?
>
> Good lord I hope not! :-)
<snip>
> My RedHat system puts lots of stuff under
> /etc/sysconfig.
But not everything you would expect; in particular I seem to remember Apache's
config files being under the apache install directory, rather than /etc/apache
where Debian puts them.
Debian's incredibly consistent in this respect. Almost everything lives in /etc.
Which is why I was gobsmacked to discover last night that Debian's xfs keeps its
config file in /usr/X11/lib/fs.
<snip>
> My preference with
> apps I develop is to use an XML format for config files.
The defence of the more traditional formats (usually some variation on
# explanatory comment
propertyname property value
with whitespace ignored)
is that they are easy to parse, and easy for users to hack by hand.
Hand-hacked config files often don't play nice with admin tools, though...
> Having said all that, I believe the GNOME developers
> have built some kind of registry. My initial impression
> is that this is an extremely misguided project but I
> haven't examined their motivation or their code so that's
> just knee-jerk bigotry on my part.
That would be gconf, described here:
http://developer.gnome.org/feature/archive/gconf/gconf.html
Gconf is rather more sane than the Windows registry. For one thing, it's XML
(because XML is Magic Pixie Dust That Makes Everything Go Better) and therefore
still Unixy, in that it is fundamentally human-readable text.
Stephen
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/JjlUgA/vN2EAA/kG8FAA/0XFolB/TM
---------------------------------------------------------------------~->
.-. Wellington
/V\ Linux
// \\ Users
/( )\ Group
^^-^^
http://wlug.paradise.net.nz/
To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the wellylug
mailing list