forked from pool/util-linux
32a3f13ab3
Copy from Base:System/util-linux based on submit request 24460 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/24460 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=82
21 lines
799 B
Diff
21 lines
799 B
Diff
Index: util-linux-ng-2.16/fdisk/fdisk.c
|
|
===================================================================
|
|
--- util-linux-ng-2.16.orig/fdisk/fdisk.c
|
|
+++ util-linux-ng-2.16/fdisk/fdisk.c
|
|
@@ -1586,6 +1586,7 @@ static void check_consistency(struct par
|
|
/* 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 "
|
|
@@ -1602,7 +1603,6 @@ static void check_consistency(struct par
|
|
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 "
|