Why is Fedora a multimedia disaster? - Here is why.

Mikkel L. Ellertson mikkel at infinity-ltd.com
Wed Apr 18 22:15:53 UTC 2007


Gérard Milmeister wrote:
> 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.
> 
One way would be to have a utility that would go through the files,
determine the mime-type, and set the attributes. Run it as a nightly
cron job to index new files. You could also have the file manager do
it for untagged files that you have write permission for. You would
have to start building mime-type attribute awareness into
applications, but it could be done. It will have a performance
penalty, but probably not too much more then SE Linux by itself...

This sounds like something that would be worth looking into. It may
turn out to be impractical, but it may turn out to be parctical and
desirable...

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the fedora-list mailing list