From: Francesco Cosoleto Date: Thu, 28 Apr 2011 21:39:30 +0000 (+0200) Subject: fdisk: improve error message for missing extended partition X-Git-Tag: v2.20-rc1~305 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63c3e98f21d8470ccf9af026997c695a79650530;p=thirdparty%2Futil-linux.git fdisk: improve error message for missing extended partition Signed-off-by: Francesco Cosoleto --- diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c index 7a80db1ed7..4a37b3b9f4 100644 --- a/fdisk/fdisk.c +++ b/fdisk/fdisk.c @@ -2525,8 +2525,8 @@ new_partition(void) { if (extended_offset) add_logical(); else - printf(_("You must delete some partition and add " - "an extended partition first\n")); + printf(_("If you want to create more than four partitions, you must replace a\n" + "primary partition with an extended partition first.\n")); } else if (partitions >= MAXIMUM_PARTS) { printf(_("All logical partitions are in use\n")); printf(_("Adding a primary partition\n"));