2010-07-30 12:35:45 +02:00
|
|
|
Index: util-linux-ng-2.18/fdisk/fdisk.c
|
2007-02-12 18:38:45 +01:00
|
|
|
===================================================================
|
2010-07-30 12:35:45 +02:00
|
|
|
--- util-linux-ng-2.18.orig/fdisk/fdisk.c 2010-06-30 14:44:25.000000000 +0200
|
|
|
|
+++ util-linux-ng-2.18/fdisk/fdisk.c 2010-07-08 14:35:07.000000000 +0200
|
|
|
|
@@ -1838,6 +1838,7 @@ static void check_consistency(struct par
|
2007-02-12 18:38:45 +01:00
|
|
|
/* compute logical ending (c, h, s) */
|
|
|
|
long2chs(get_start_sect(p) + get_nr_sects(p) - 1, &lec, &leh, &les);
|
|
|
|
|
|
|
|
+#if 0
|
|
|
|
/* Same physical / logical beginning? */
|
|
|
|
if (cylinders <= 1024 && (pbc != lbc || pbh != lbh || pbs != lbs)) {
|
|
|
|
printf(_("Partition %d has different physical/logical "
|
2010-07-30 12:35:45 +02:00
|
|
|
@@ -1854,7 +1855,6 @@ static void check_consistency(struct par
|
2007-02-12 18:38:45 +01:00
|
|
|
printf(_("logical=(%d, %d, %d)\n"),lec, leh, les);
|
|
|
|
}
|
|
|
|
|
|
|
|
-#if 0
|
|
|
|
/* Beginning on cylinder boundary? */
|
|
|
|
if (pbh != !pbc || pbs != 1) {
|
|
|
|
printf(_("Partition %i does not start on cylinder "
|