From 24d1e474a2d7db57968d406265460a97f6143854 Mon Sep 17 00:00:00 2001 From: Jeroen Oortwijn Date: Tue, 2 Nov 2010 22:13:12 +0100 Subject: [PATCH] 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 --- shlibs/blkid/src/superblocks/vfat.c | 1 + 1 file changed, 1 insertion(+) 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 }, -- 2.39.5