Since libblkid commit
751eca28fcfa1e325770904d7181b22e48c72b29 it does
not ignore FAT on whole-disks, so now libfdisk sees collision between
FAT and MBR. It's fine to report the collision to users, but we should
not ignore the MBR.
Signed-off-by: Karel Zak <kzak@redhat.com>
if (!mbr_is_valid_magic(cxt->firstsector))
return 0;
- /* ignore disks with FAT */
- if (cxt->collision &&
- (strcmp(cxt->collision, "vfat") == 0 ||
- strcmp(cxt->collision, "ntfs") == 0))
- return 0;
-
dos_init(cxt);
get_partition_table_geometry(cxt, &h, &s);