Re: Implementing Meta File information in Linux

Raul Miller (rdm@test.legislate.com)
Wed, 2 Sep 1998 16:23:56 -0400


Elliot Lee <sopwith@redhat.com> wrote:
> Did I forgot to bash any other approaches? ;-)

Yep.

You forgot the "embed it in the file" approach.

Here, you take advantage of the fact that:

(1) most file formats have some way of putting some more information
into the file, without interfering with normal file use, and

(2) If you're careful you can make it possible to read the metadata
without much in the way of special knowledge (a special 8 character
prefix which is significant the first time it appears in the file
might be sufficient).

Of course, to write a file you'll have to train your system to
deal with a lot of common file formats, and the meta-data will
probably look ugly in a standard editor.

-- 
Raul

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html