Date: Sun, 10 Jun 2007 21:34:27 +0800 From: "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au> To: freebsd-hackers@freebsd.org, freebsd-fs@freebsd.org Subject: Re: file(1) cannot detect UFS2? Message-ID: <20070610133427.GA24008@obelix.dsto.defence.gov.au> In-Reply-To: <f4fab1$fh9$1@sea.gmane.org> References: <f4fab1$fh9$1@sea.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
0n Sun, Jun 10, 2007 at 12:41:31AM +0200, Ivan Voras wrote: >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. Not sure if what you're doing *has* to be done with file(1). However, you can what you want like so: #dumpfs ad0s1a | head -1 magic 19540119 (UFS2) time Sun Jun 10 21:30:45 2007 -aW IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070610133427.GA24008>