From: Jeroen Oortwijn Date: Tue, 2 Nov 2010 21:13:12 +0000 (+0100) Subject: libblkid: add magic to vfat X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24d1e474a2d7db57968d406265460a97f6143854;p=util-linux libblkid: add magic to vfat Add the "FAT " magic to vfat. There are devices that use this magic in their FAT filesystem. Addresses: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/491476 Signed-off-by: Jeroen Oortwijn --- diff --git a/shlibs/blkid/src/superblocks/vfat.c b/shlibs/blkid/src/superblocks/vfat.c index 078b1dda..60191b99 100644 --- a/shlibs/blkid/src/superblocks/vfat.c +++ b/shlibs/blkid/src/superblocks/vfat.c @@ -415,6 +415,7 @@ const struct blkid_idinfo vfat_idinfo = { .magic = "MSDOS", .len = 5, .sboff = 0x36 }, { .magic = "FAT16 ", .len = 8, .sboff = 0x36 }, { .magic = "FAT12 ", .len = 8, .sboff = 0x36 }, + { .magic = "FAT ", .len = 8, .sboff = 0x36 }, { .magic = "\353", .len = 1, }, { .magic = "\351", .len = 1, }, { .magic = "\125\252", .len = 2, .sboff = 0x1fe },