{'e', N_("list extended partitions"), {0, FDISK_DISKLABEL_DOS}},
{'e', N_("edit drive data"), {FDISK_DISKLABEL_OSF, 0}},
{'f', N_("fix partition order"), {0, FDISK_DISKLABEL_DOS}},
- {'g', N_("create an IRIX (SGI) partition table"), {0, FDISK_DISKLABEL_ANY}},
+ {'G', N_("create an IRIX (SGI) 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 a new empty GPT 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}},
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);