Skip to main content.

2001-Jul-17

Started learning about setting up magic(5) for file(1). I made a simple magic for Ogg Vorbis:
0       string  OggS            Ogg data
>29     string  vorbis          b, Vorbis audio
Which resulted like:
/home/reed/audio/kaas.ogg: Ogg data, Vorbis audio
Then I emailed the vorbis-dev list and found out someone already started working on it, plus got a few ideas. (I received a newer better magic.) * I need to submit magic for src/usr.bin/file/magdir/ogg and /usr/share/misc/magic.mime (even though the mime types aren't official yet).