From: Karel Zak Date: Wed, 15 May 2013 13:34:54 +0000 (+0200) Subject: fdisk: revert add 'G' to create SGI label to the main menu X-Git-Tag: v2.24-rc1~251 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad3b5e74bac0d0ca09d78e224d9f6ba42f336517;p=thirdparty%2Futil-linux.git fdisk: revert add 'G' to create SGI label to the main menu 'G' does not make sense, fdisk menus are case insensitive. Yes... Signed-off-by: Karel Zak --- diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c index 2dc2752341..e6e527c3dc 100644 --- a/fdisks/fdisk.c +++ b/fdisks/fdisk.c @@ -76,7 +76,6 @@ static const struct menulist_descr menulist[] = { {'f', N_("fix partition order"), {0, FDISK_DISKLABEL_DOS}}, {'g', N_("create a new empty GPT partition table"), {~FDISK_DISKLABEL_OSF, 0}}, {'g', N_("create an IRIX (SGI) partition table"), {0, FDISK_DISKLABEL_ANY}}, /* for backward compatibility only */ - {'G', N_("create an IRIX (SGI) partition table"), {~FDISK_DISKLABEL_OSF, 0}}, {'h', N_("change number of heads"), {0, FDISK_DISKLABEL_DOS | FDISK_DISKLABEL_SUN}}, {'i', N_("change interleave factor"), {0, FDISK_DISKLABEL_SUN}}, {'i', N_("change the disk identifier"), {0, FDISK_DISKLABEL_DOS}}, @@ -1049,9 +1048,6 @@ static void command_prompt(struct fdisk_context *cxt) case 'g': fdisk_create_disklabel(cxt, "gpt"); break; - case 'G': - fdisk_create_disklabel(cxt, "sgi"); - break; case 'i': if (fdisk_is_disklabel(cxt, SGI)) create_sgiinfo(cxt);