From owner-freebsd-user-groups@FreeBSD.ORG Thu Jun 21 11:58:48 2012 Return-Path: Delivered-To: freebsd-user-groups@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2061B106566B for ; Thu, 21 Jun 2012 11:58:48 +0000 (UTC) (envelope-from islamyasar@yandex.com) Received: from forward16.mail.yandex.net (forward16.mail.yandex.net [IPv6:2a02:6b8:0:1402::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE4E8FC08 for ; Thu, 21 Jun 2012 11:58:47 +0000 (UTC) Received: from web2g.yandex.ru (web2g.yandex.ru [95.108.252.102]) by forward16.mail.yandex.net (Yandex) with ESMTP id E523BD21E4E for ; Thu, 21 Jun 2012 15:58:45 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1340279925; bh=AnnJLzBKr8BRBYAm040ZsS2UL88T0+AEq/dntTE1ilA=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=J/wrr0Lbp8E3mKaRAnglxE1yCgxPeNdKCB9oKztEFKeDgA1EcfrPFjjKA8Hq+qfSM Gye7fM9yUNlWhVfIITiGXx/LhBXS1TXjw39d88Gs5gq4EHVeAD04S+B/KShS/mgPF2 Tk4jODVWXjysUWQ/2kyUNkJ2/S3dKdhQfRFJ+m/k= Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web2g.yandex.ru (Yandex) with ESMTP id 9F91439F8084; Thu, 21 Jun 2012 15:58:45 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1340279925; bh=AnnJLzBKr8BRBYAm040ZsS2UL88T0+AEq/dntTE1ilA=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=J/wrr0Lbp8E3mKaRAnglxE1yCgxPeNdKCB9oKztEFKeDgA1EcfrPFjjKA8Hq+qfSM Gye7fM9yUNlWhVfIITiGXx/LhBXS1TXjw39d88Gs5gq4EHVeAD04S+B/KShS/mgPF2 Tk4jODVWXjysUWQ/2kyUNkJ2/S3dKdhQfRFJ+m/k= Received: from asy62.asy144.tellcom.com.tr (asy62.asy144.tellcom.com.tr [195.214.144.62]) by web2g.yandex.ru with HTTP; Thu, 21 Jun 2012 15:58:44 +0400 From: =?utf-8?B?WWHFn2FyIMSwc2xhbQ==?= To: "freebsd-user-groups@freebsd.org" MIME-Version: 1.0 Message-Id: <463341340279924@web2g.yandex.ru> Date: Thu, 21 Jun 2012 14:58:44 +0300 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Subject: libmagic issue X-BeenThere: freebsd-user-groups@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User Group Coordination List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2012 11:58:48 -0000 Hi all, I m using libmagic for my application on FreeBSD. I have some problems. libmagic doenst šreturn properly mimetype of file. For example : system is FreeBSD 8.2-RELEASE . example.7z šis my file. file --mime-type example.7z ----> application/octet-stream file example.7z ----> 7-zip archive data, version 0.3 and when i try to test same file on linux (ubuntu 12.04) : file --mime-type example.7z ----> application/x-7z-compressed file example.7z ----> 7-zip archive data, version 0.3 why does not FreeBSD behave like linux ? i need the result application/x-7z-compressed after i type as command file --mime-type example.7z.. Any would be appreciated. Thanks ... I.Yasar