diff options
author | Karel Zak | 2019-07-17 12:35:45 +0200 |
---|---|---|
committer | Karel Zak | 2019-07-17 12:35:45 +0200 |
commit | cdb91409674cfb5d94a374b1e3b2bf1869ecfec7 (patch) | |
tree | 7dd1cf4095f7931521c6ad0ec80b470e0f141938 /libblkid/src/superblocks/superblocks.h | |
parent | libfdisk: don't use FAT as MBR (diff) | |
download | kernel-qcow2-util-linux-cdb91409674cfb5d94a374b1e3b2bf1869ecfec7.tar.gz kernel-qcow2-util-linux-cdb91409674cfb5d94a374b1e3b2bf1869ecfec7.tar.xz kernel-qcow2-util-linux-cdb91409674cfb5d94a374b1e3b2bf1869ecfec7.zip |
libblkid: do not interpret NTFS as MBR
# mkntfs -Q -F /dev/sdc
old version:
# ./blkid -p /dev/sdc
/dev/sdc: UUID="0E9E8C5F2F718479" TYPE="ntfs" USAGE="filesystem" PTTYPE="dos"
new version:
# ./blkid -p /dev/sdc
/dev/sdc: UUID="0E9E8C5F2F718479" TYPE="ntfs" USAGE="filesystem"
Reported-by: Mike Fleetwood <mike.fleetwood@googlemail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid/src/superblocks/superblocks.h')
-rw-r--r-- | libblkid/src/superblocks/superblocks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libblkid/src/superblocks/superblocks.h b/libblkid/src/superblocks/superblocks.h index 3313d0245..59682c86d 100644 --- a/libblkid/src/superblocks/superblocks.h +++ b/libblkid/src/superblocks/superblocks.h @@ -109,5 +109,6 @@ extern int blkid_probe_set_utf8_id_label(blkid_probe pr, const char *name, const unsigned char *data, size_t len, int enc); extern int blkid_probe_is_bitlocker(blkid_probe pr); +extern int blkid_probe_is_ntfs(blkid_probe pr); #endif /* _BLKID_SUPERBLOCKS_H */ |