| --- libparted/labels/dos.c 2014-11-13 14:23:10.147494213 -0800 |
| +++ libparted/labels/dos.c 2014-11-13 14:28:54.262031054 -0800 |
| @@ -173,10 +173,12 @@ msdos_probe (const PedDevice *dev) |
| * Loader (SBML) signature indicates a partition table, not a file |
| * system. |
| */ |
| - if ((!strncmp (part_table.boot_code + 0x36, "FAT", 3) |
| + /* check below commented out to allow FAT fs images without a MBR */ |
| +/* if ((!strncmp (part_table.boot_code + 0x36, "FAT", 3) |
| && strncmp (part_table.boot_code + 0x40, "SBML", 4) != 0) |
| || !strncmp (part_table.boot_code + 0x52, "FAT", 3)) |
| return 0; |
| +*/ |
| |
| /* If this is a GPT disk, fail here */ |
| for (i = 0; i < 4; i++) { |