From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 10 13:55:59 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 D6DFD16A421 for ; Sun, 10 Jun 2007 13:55:59 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8964813C46A for ; Sun, 10 Jun 2007 13:55:59 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HxNtT-0007Bu-NZ for freebsd-hackers@freebsd.org; Sun, 10 Jun 2007 15:55:47 +0200 Received: from 78-0-92-215.adsl.net.t-com.hr ([78.0.92.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jun 2007 15:55:47 +0200 Received: from ivoras by 78-0-92-215.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jun 2007 15:55:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Sun, 10 Jun 2007 15:55:28 +0200 Lines: 39 Message-ID: References: <20070610133427.GA24008@obelix.dsto.defence.gov.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig52CBF69C654D8113FDC784EF" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-92-215.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) In-Reply-To: <20070610133427.GA24008@obelix.dsto.defence.gov.au> X-Enigmail-Version: 0.94.3.0 Sender: news Cc: freebsd-fs@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 13:55:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig52CBF69C654D8113FDC784EF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Wilkinson, Alex wrote: > 0n Sun, Jun 10, 2007 at 12:41:31AM +0200, Ivan Voras wrote:=20 >=20 > >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 usu= al MS > >and Linux list) *except* UFS2. >=20 > Not sure if what you're doing *has* to be done with file(1). > However, you can what you want like so: >=20 > #dumpfs ad0s1a | head -1 > magic 19540119 (UFS2) time Sun Jun 10 21:30:45 2007 So you're proposing one utility per possible file system instead of one utility total? :) --------------enig52CBF69C654D8113FDC784EF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGbALQldnAQVacBcgRApW1AKCfQEPQVWXeM3qrXi2HbmD1hZRY8wCgipxM vwkmkElWbthVKrfkb9R0UbU= =Oy6m -----END PGP SIGNATURE----- --------------enig52CBF69C654D8113FDC784EF--