projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf7f103
)
fdisk: remove "Partition N does not end on cylinder boundary" message
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 26 May 2018 16:51:18 +0000
(18:51 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 26 May 2018 16:51:18 +0000
(18:51 +0200)
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>
util-linux/fdisk.c
patch
|
blob
|
history
diff --git
a/util-linux/fdisk.c
b/util-linux/fdisk.c
index 7275535e6b08eff070c4de2b6a939994287238ba..cdcba0a03767ec2c35310c6192b2abc446b79711 100644
(file)
--- a/
util-linux/fdisk.c
+++ b/
util-linux/fdisk.c
@@
-2004,12
+2004,6
@@
check_consistency(const struct partition *p, int partition)
printf(" phys=(%u,%u,%u) ", pec, peh, pes);
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