From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 10 11:56:33 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF45716A41F; Sun, 10 Jun 2007 11:56:33 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id A91B113C45A; Sun, 10 Jun 2007 11:56:33 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id D26E68BDF4B; Sun, 10 Jun 2007 13:56:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H3YTmxnyzh9y; Sun, 10 Jun 2007 13:56:30 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id BC39D65B769; Sun, 10 Jun 2007 13:56:30 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l5ABuUUh028544; Sun, 10 Jun 2007 13:56:30 +0200 (CEST) (envelope-from rdivacky) Date: Sun, 10 Jun 2007 13:56:30 +0200 From: Roman Divacky To: Ivan Voras Message-ID: <20070610115630.GA28518@freebsd.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: file(1) cannot detect UFS2? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 11:56:34 -0000 On Sun, Jun 10, 2007 at 12:41:31AM +0200, Ivan Voras wrote: > Hi! > > I'm trying to use file(1) to detect file system type on partitions, and > so far it's working for any file system I've cared to try (the usual MS > and Linux list) *except* UFS2. > > Detecting UFS1 works, though much more verbosely than it needs to be, > but UFS2 isn't detected at all. > > I'd like to ask someone familiar with UFS2 to take a quick peak and add > the appropriate rules to the file(1) magic database, if anyone's interested. > > At the very least, I need someone to commit this patch: well... yeah but not to freebsd :) I guess you want to forward the patch upstream to the maintainers of file. thnx for the work though