Currently fdisk does not support +cylinder notation and reports Unsupported suffix: ''. We might want to keep support for this notation for backwards compatibility. Signed-Off-By: Matthias Koenig <mkoenig@xxxxxxx> --- fdisk/fdisk.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c index a8dfe5d..16222f9 100644 --- a/fdisk/fdisk.c +++ b/fdisk/fdisk.c @@ -1200,8 +1200,9 @@ read_int(unsigned int low, unsigned int dflt, unsigned int high, while(isspace(*(line_ptr + suflen))) *(line_ptr + suflen--) = '\0'; - if ((*line_ptr == 'C' || *line_ptr == 'c') && - *(line_ptr + 1) == '\0') { + if (((*line_ptr == 'C' || *line_ptr == 'c') && + *(line_ptr + 1) == '\0') || + *line_ptr == '\0') { /* * Cylinders */ -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html