Wilkinson, Alex wrote:
>     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

So you're proposing one utility per possible file system instead of one
utility total? :)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to