]> err.no Git - util-linux/commitdiff
libblkid: set tolerant flag for HFS
authorAlexandre Peixoto Ferreira <alexandref75@gmail.com>
Mon, 19 Jul 2010 23:04:33 +0000 (18:04 -0500)
committerKarel Zak <kzak@redhat.com>
Mon, 26 Jul 2010 09:33:28 +0000 (11:33 +0200)
An CDROM can contain both HFS and ISO9660 views on the same filesystem.
This confuses mount/KDE/Gnome.

Signed-off-by: Karel Zak <kzak@redhat.com>
shlibs/blkid/src/superblocks/hfs.c

index 8ebff68da170405abf4eae51d17cea1242de76a5..033a65dea24f9100e284bf9f924cdfcc8acd2ee8 100644 (file)
@@ -291,6 +291,7 @@ const struct blkid_idinfo hfs_idinfo =
        .name           = "hfs",
        .usage          = BLKID_USAGE_FILESYSTEM,
        .probefunc      = probe_hfs,
+       .flags          = BLKID_IDINFO_TOLERANT,
        .magics         =
        {
                { .magic = "BD", .len = 2, .kboff = 1 },