fdisk: remove "Partition N does not end on cylinder boundary" message
fdisk from util-linux 2.31 (maybe earlier) does not print this. function old new delta check_consistency 449 399 -50 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
bf7f103ffb
commit
8bc418f07e
@ -2004,12 +2004,6 @@ check_consistency(const struct partition *p, int partition)
|
|||||||
printf(" phys=(%u,%u,%u) ", pec, peh, pes);
|
printf(" phys=(%u,%u,%u) ", pec, peh, pes);
|
||||||
printf("logical=(%u,%u,%u)\n", lec, leh, les);
|
printf("logical=(%u,%u,%u)\n", lec, leh, les);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ending on cylinder boundary? */
|
|
||||||
if (peh != (g_heads - 1) || pes != g_sectors) {
|
|
||||||
printf("Partition %u does not end on cylinder boundary\n",
|
|
||||||
partition + 1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user