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 <kzak@redhat.com>
This commit is contained in:
Karel Zak 2013-05-15 15:34:54 +02:00
parent 414b6b0f90
commit ad3b5e74ba
1 changed files with 0 additions and 4 deletions

View File

@ -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);