]> err.no Git - util-linux/commit
libblkid: more robust minix probing
authorKarel Zak <kzak@redhat.com>
Mon, 8 Mar 2010 12:05:09 +0000 (13:05 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 8 Mar 2010 12:05:09 +0000 (13:05 +0100)
commit74b1659ddaac4aa409b56d1eaa07d87b5b11b98e
treeaa463609be09da549d3ce6897146c072d9caf9bf
parenteeaeb7540b16a43a3c4b0923737c4b573f7d7c01
libblkid: more robust minix probing

Unfortunately, it's still possible to interpret some parts of ext3
filesystem as minix superblock ;-(

So, the most robust is to check for the extN magic string in minix
probing function.

Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=570606
Signed-off-by: Karel Zak <kzak@redhat.com>
shlibs/blkid/src/superblocks/minix.c