On Wed, 2007-04-18 at 22:55 +0200, Gérard Milmeister wrote: > Meta-data (using extended file attributes) would be faster, since it > wouldn't involve opening the file and trying to guess the file type from > the file content. If you have selinux enabled, each file access involves > accessing extended file attributes. See also: http://www.freedesktop.org/wiki/CommonExtendedAttributes The problem is, how to get the attribute to the file? Applications creating the files must set it explicitly, and files imported from outside must also get the attribute somehow. -- Gérard Milmeister Langackerstrasse 49 CH-8057 Zürich