]> 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>
Wed, 10 Mar 2010 11:53:56 +0000 (12:53 +0100)
commitc326223c7b20a367f634de07997e186092d7cb0f
treec64a0354fb05fb74662160a702be12520dd28eca
parent0386fe0cd49f6ac4efbf839c1dd2b2b7f517978b
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