Re: [GD-General] A portable preferences library
Brought to you by:
vexxed72
From: Pablo <pe...@te...> - 2003-12-03 23:49:33
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =46rom: Brian Hook <ho...@py...> > Preference objects can be opened either system-wide (corresponding to > HKEY_LOCAL_MACHINE on Windows, "/Library" on OS X, "/usr/local/share" > on Linux) or locally (corresponding to HKEY_CURRENT_USER on Windows, > "~/Library" on OS X, and "~" on Linux). I wonder if /var/lib isn't a better place to store such a data, since many= =20 people mount their /usr filesystems in read-only mode. A clear example for this can be seen in the Mozilla package for Debian. Th= e=20 original version of Mozilla stores everything in /usr/local/mozilla, while= =20 the Debian package puts global configuration files in /var/lib/mozilla and= =20 creates the appropiate symlinks so the application can find its files. Greetings. =2D --=20 Pablo Brasero http://www.pablobm.com mailto:pab...@hi... jabber:otn...@ja... Usuario registrado de Linux n=FAmero 286.361 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/zna5J8SVBd7KWfwRAhD+AKDFjnbaru6Lj/zP1Qhco7IufOFEtQCdHAoH ikAeE+HbcuAbZoPW+yCWZTs=3D =3DVaKt =2D----END PGP SIGNATURE----- |