2007-01-15 15:29:14 +01:00
|
|
|
--- libparted/labels/dos.c
|
|
|
|
+++ libparted/labels/dos.c 2005/01/11 14:39:51
|
|
|
|
@@ -170,6 +170,9 @@
|
2007-12-11 00:32:46 +01:00
|
|
|
if (PED_BE32_TO_CPU (*(unsigned int*)(part_table->boot_code)) == AIXIPLRECID)
|
2007-01-15 15:29:14 +01:00
|
|
|
return 0;
|
|
|
|
|
|
|
|
+/* disable this check since it makes parted fail on some IDE disks with
|
|
|
|
+TurboLinux installed */
|
|
|
|
+#if 0
|
|
|
|
/* if this is a FAT fs, fail here. Note that the Smart Boot Manager
|
|
|
|
* Loader (SBML) signature indicates a partition table, not a file
|
|
|
|
* system.
|
|
|
|
@@ -178,6 +181,7 @@
|
2007-12-11 00:32:46 +01:00
|
|
|
&& strncmp (part_table->boot_code + 0x40, "SBML", 4) != 0)
|
|
|
|
|| !strncmp (part_table->boot_code + 0x52, "FAT", 3))
|
|
|
|
goto probe_fail;
|
2007-01-15 15:29:14 +01:00
|
|
|
+#endif
|
|
|
|
|
|
|
|
/* If this is a GPT disk, fail here */
|
|
|
|
for (i = 0; i < 4; i++) {
|