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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"