Re: Attention: /usr/share/file/magic{,.mime} removal

2008-05-03 Thread Bernhard R. Link
* Daniel Baumann <[EMAIL PROTECTED]> [080503 18:39]: > Bernhard R. Link wrote: > >> [0] they *could* change format suddenly, only the library and its > >> bindings are safe. > > > > And where is this documented? (It has a documentation for the format, so > > I guess if that was supposed to be

Re: Attention: /usr/share/file/magic{,.mime} removal

2008-05-03 Thread Daniel Baumann
Daniel Baumann wrote: >> So it looks to me that file is recreating the (cached) binary versions from >> the "information purpose only" source files, right? > > no, /usr/share/file/magic.mgc and magic.mime.mgc are files own magics, > they are not supposed to be recompiled or touched by anyone after

Re: Attention: /usr/share/file/magic{,.mime} removal

2008-05-03 Thread Daniel Baumann
Bernd Eckenfels wrote: > So how can a sysadmin add rules? just like before, /etc/magic and /etc/magic.mime. this change is only about packages wrongly using /usr/share/file/magic{,.mime}. >> However, as of file version 4.24, the format of the sources has changed >> in order to compile the mime fi

Re: Attention: /usr/share/file/magic{,.mime} removal

2008-05-03 Thread Daniel Baumann
Bernhard R. Link wrote: >> [0] they *could* change format suddenly, only the library and its >> bindings are safe. > > And where is this documented? (It has a documentation for the format, so > I guess if that was supposed to be "writing" only, that was a canonical > place to state it). what

Re: Attention: /usr/share/file/magic{,.mime} removal

2008-05-03 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > where as *.mgc are the binary files which are used by file/libmagic, and > the others are the conlgomerated source files *for informational > purposes only*. The sources have never been used by file for anything, > and nobody shall do this either[0]. So

Re: Attention: /usr/share/file/magic{,.mime} removal

2008-05-03 Thread Bernhard R. Link
* Daniel Baumann <[EMAIL PROTECTED]> [080503 14:52]: > file or rather libmagic1 ships its magic files in /usr/share/file/, > namely this used to be: > > /usr/share/file/magic > /usr/share/file/magic.mgc > /usr/share/file/magic.mime > /usr/share/file/magic.mime.mgc > > where as *.mgc are the binary