file(1) cannot detect UFS2?
Roman Divacky
rdivacky at freebsd.org
Sun Jun 10 11:56:34 UTC 2007
On Sun, Jun 10, 2007 at 12:41:31AM +0200, Ivan Voras wrote:
> Hi!
>
> 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.
>
> Detecting UFS1 works, though much more verbosely than it needs to be,
> but UFS2 isn't detected at all.
>
> I'd like to ask someone familiar with UFS2 to take a quick peak and add
> the appropriate rules to the file(1) magic database, if anyone's interested.
>
> At the very least, I need someone to commit this patch:
well... yeah but not to freebsd :) I guess you want to forward the patch upstream
to the maintainers of file.
thnx for the work though
More information about the freebsd-hackers
mailing list