]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: improve error message for missing extended partition
authorFrancesco Cosoleto <cosoleto@gmail.com>
Thu, 28 Apr 2011 21:39:30 +0000 (23:39 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 3 May 2011 10:59:03 +0000 (12:59 +0200)
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
fdisk/fdisk.c

index 7a80db1ed7101d09953a29b2dd1834f26e5c14e4..4a37b3b9f4356ec35cde437ddd4f16f4f51386fb 100644 (file)
@@ -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"));