summaryrefslogtreecommitdiff
path: root/shlibs
diff options
context:
space:
mode:
authorJeroen Oortwijn <oortwijn@gmail.com>2010-11-02 22:13:12 +0100
committerKarel Zak <kzak@redhat.com>2010-11-08 13:18:19 +0100
commit24d1e474a2d7db57968d406265460a97f6143854 (patch)
tree8494ef038a11343fb26d6500310462b78b716cc3 /shlibs
parent3f7fc4d43b61e442b81937aa06e079950a8ebb7c (diff)
downloadutil-linux-old-24d1e474a2d7db57968d406265460a97f6143854.tar.gz
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 <oortwijn@gmail.com>
Diffstat (limited to 'shlibs')
-rw-r--r--shlibs/blkid/src/superblocks/vfat.c1
1 files changed, 1 insertions, 0 deletions
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 },