From owner-freebsd-stable@FreeBSD.ORG Thu Sep 8 16:33:00 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A61D16A41F for ; Thu, 8 Sep 2005 16:33:00 +0000 (GMT) (envelope-from h.kipp@eurowings.com) Received: from email-1.eurowings.com (email.eurowings.com [193.96.182.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FD9343D48 for ; Thu, 8 Sep 2005 16:32:58 +0000 (GMT) (envelope-from h.kipp@eurowings.com) Received: from localhost (email-1 [127.0.0.1]) by email-1.eurowings.com (Postfix) with ESMTP id DBBCA68060; Thu, 8 Sep 2005 18:50:47 +0200 (CEST) Received: from email-1.eurowings.com ([127.0.0.1]) by localhost (email-1.eurowings.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01213-03; Thu, 8 Sep 2005 18:50:46 +0200 (CEST) Received: from EXCH4.eurowings.com (unknown [10.100.1.36]) by email-1.eurowings.com (Postfix) with ESMTP id 66BBC68078; Thu, 8 Sep 2005 18:50:46 +0200 (CEST) Received: from EXCH5.eurowings.com ([10.100.1.37]) by EXCH4.eurowings.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 8 Sep 2005 18:33:00 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Thu, 8 Sep 2005 18:30:17 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: file -i (mime type) has bug ? Thread-Index: AcW0kdRLndYaleqYQ9+jNG+WSOIE2gAAMS/4 From: "Kipp Holger" To: "Andriy Gapon" , X-OriginalArrivalTime: 08 Sep 2005 16:33:00.0607 (UTC) FILETIME=[FA3724F0:01C5B492] X-Virus-Scanned: amavisd-new at eurowings.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: AW: file -i (mime type) has bug ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 16:33:00 -0000 Andriy Gapon wrote on Thursday, 08.09.2005 18:23 > 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". According to "man file" this is due to different magic files being used: -i Causes the file command to output mime type strings rather = than [...] and makes use of an alternative magic file. (See FILES section, below). FILES /usr/share/misc/magic.mgc default compiled list of magic numbers /usr/share/misc/magic default list of magic numbers /usr/share/misc/magic.mime default list of magic numbers, used to = output mime types when the -i option is = specified. Regards, Holger Kipp