file/libmagic

Waldo Bastian bastian at kde.org
Fri May 16 02:14:50 EEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 16 May 2003 01:17, Richard Moore wrote:
> I wonder if it might not be better to take an approach like the one we
> (KDE) use in KSycoca and make the text format the definitive copy but to
> generate a binary cache of the contents. In KDE we take things a little
> further and monitor the files used to create the cache for changes, but
> even without that, this approach has the advantage of maintaining the
> master files in a human editable format. The ability to recreate the cache
> on demand also removes a single point of failure.

That's basically what the new spec does. Only difference is that it is updated 
as part of the install process (compare ldconfig) while ksycoca does it at 
application runtime.

I think the approach from the spec is better than the ksycoca approach for 
this particular case. (The strength of ksycoca is in those cases where you 
need to cross-reference data)

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+xB9qN4pvrENfboIRAoFWAJ9PmxsfTt4sKrDmWO6i6tsVgtZ0IQCgl204
hXyk6MLYUuV8i/L/HbnLhlY=
=g/Hm
-----END PGP SIGNATURE-----




More information about the xdg mailing list