[PATCH] libblkid: add magic to vfat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <oortwijn@xxxxxxxxx>
---
 shlibs/blkid/src/superblocks/vfat.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/shlibs/blkid/src/superblocks/vfat.c b/shlibs/blkid/src/superblocks/vfat.c
index 078b1dd..60191b9 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 },
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux