Here is a patch that does the first. But we can't avoid comparisons with FS_UFS2_MAGIC completely... christos
Attachment: ufs.patch Description: Binary data
Attachment: signature.asc Description: Message signed with OpenPGP