diff options
author | Jeroen Oortwijn | 2010-10-31 21:32:21 +0100 |
---|---|---|
committer | Karel Zak | 2010-11-01 16:43:08 +0100 |
commit | 01802c2e6df94aa14609d5628b276bad6bb09968 (patch) | |
tree | 5c7f0c7ea5291b07beef479bfb7fd038d90d2aed /shlibs | |
parent | swapon: add "discard" support (diff) | |
download | kernel-qcow2-util-linux-01802c2e6df94aa14609d5628b276bad6bb09968.tar.gz kernel-qcow2-util-linux-01802c2e6df94aa14609d5628b276bad6bb09968.tar.xz kernel-qcow2-util-linux-01802c2e6df94aa14609d5628b276bad6bb09968.zip |
libblkid: add signature to FAT32 fsinfo block
Add 0x41645252 to the list of valid signatures of the FAT32 fsinfo
block. It isn't a valid signature, but there are devices that use this
signature in their FAT32 filesystem.
Addresses: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/589369
Signed-off-by: Jeroen Oortwijn <oortwijn@gmail.com>
Diffstat (limited to 'shlibs')
-rw-r--r-- | 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 9027d50de..078b1dda5 100644 --- a/shlibs/blkid/src/superblocks/vfat.c +++ b/shlibs/blkid/src/superblocks/vfat.c @@ -380,6 +380,7 @@ static int probe_vfat(blkid_probe pr, const struct blkid_idmag *mag) fsinfo = (struct fat32_fsinfo *) buf; if (memcmp(fsinfo->signature1, "\x52\x52\x61\x41", 4) != 0 && + memcmp(fsinfo->signature1, "\x52\x52\x64\x41", 4) != 0 && memcmp(fsinfo->signature1, "\x00\x00\x00\x00", 4) != 0) return -1; if (memcmp(fsinfo->signature2, "\x72\x72\x41\x61", 4) != 0 && |