I manage some CVS repository that contains (unfortunately) some solaris executables. This is what I am getting while trying to use file -i on them:>file bin/rsyncbin/rsync: ELF 32-bit MSB executable, SPARC32PLUS, V8+ Required, Sun UltraSPARC1 Extensions Required, version 1 (SYSV), dynamically linked (uses shared libs), not stripped>file -i bin/rsyncbin/rsync: , dynamically linked (uses shared libs), not stripped For FreeBSD executables some "junk at the end" is also printed:>file -i /usr/bin/file/usr/bin/file: application/x-executable, for FreeBSD 5.4, dynamically linked (uses shared libs), stripped -- Andriy Gapon
Additional information:>file mod_ibm_admin.somod_ibm_admin.so: executable (RISC System/6000 V3.1) or obj module not stripped>file -i mod_ibm_admin.somod_ibm_admin.so: video/unknown I wonder what might be causing this "xenophobia". -- Andriy Gapon
and yet another (non-"xenophobic") problem:>file xml/si.xmlxml/si.xml: XML document text>file -i xml/si.xmlxml/si.xml: it is not a copy/paste error, last line above matches pattern /: *$/ -- Andriy Gapon
In the last episode (Sep 08), Andriy Gapon said:> > Additional information: > > >file mod_ibm_admin.so > mod_ibm_admin.so: executable (RISC System/6000 V3.1) or obj module not stripped > > >file -i mod_ibm_admin.so > mod_ibm_admin.so: video/unknown > > I wonder what might be causing this "xenophobia".-i uses the magic.mime file instead of the standard magic file, and there are no entries for RISC executables in there. -- Dan Nelson dnelson@allantgroup.com
on 08.09.2005 19:29 Dan Nelson said the following:> -i uses the magic.mime file instead of the standard magic file, and > there are no entries for RISC executables in there.Oh I see, completely different database. BTW who is in charge of this file - freebsd or some 3rd party (GNU?) from which we take file as contrib ? -- Andriy Gapon
In the last episode (Sep 08), Andriy Gapon said:> on 08.09.2005 19:29 Dan Nelson said the following: > > -i uses the magic.mime file instead of the standard magic file, and > > there are no entries for RISC executables in there. > > Oh I see, completely different database. > BTW who is in charge of this file - freebsd or some 3rd party (GNU?) > from which we take file as contrib ?/usr/src/contrib/file/FREEBSD-upgrade says the original source is at ftp://ftp.astron.com/pub/file/ . We are at 4.10; the latest version is 4.15. -- Dan Nelson dnelson@allantgroup.com
Dan Nelson wrote:>In the last episode (Sep 08), Andriy Gapon said: > > >>on 08.09.2005 19:29 Dan Nelson said the following: >> >> >>>-i uses the magic.mime file instead of the standard magic file, and >>>there are no entries for RISC executables in there. >>> >>> >>Oh I see, completely different database. >>BTW who is in charge of this file - freebsd or some 3rd party (GNU?) >>from which we take file as contrib ? >> >> > >/usr/src/contrib/file/FREEBSD-upgrade says the original source is at >ftp://ftp.astron.com/pub/file/ . We are at 4.10; the latest version is >4.15. >Is there someone responsible for tracking this and importing newer versions? John ---------------------------------------------------------------------- John T. Farmer Owner & CTO GoldSword Systems jfarmer@goldsword.com 865-691-6498 Knoxville TN Consulting, Design, & Development of Networks & Software