Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2007 15:55:28 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-hackers@freebsd.org
Cc:        freebsd-fs@freebsd.org
Subject:   Re: file(1) cannot detect UFS2?
Message-ID:  <f4gvsh$3q5$1@sea.gmane.org>
In-Reply-To: <20070610133427.GA24008@obelix.dsto.defence.gov.au>
References:  <f4fab1$fh9$1@sea.gmane.org> <20070610133427.GA24008@obelix.dsto.defence.gov.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f4gvsh$3q5$1>