fdisk: make it more obvious that DOS means MBR

Fixes: https://github.com/util-linux/util-linux/issues/1890
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2022-11-10 09:24:23 +01:00 committed by su-fang
parent 75a8cd2a69
commit 599e3fd306
2 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ static const struct menu menu_generic = {
MENU_BENT ('q', N_("quit without saving changes")),
MENU_XENT ('r', N_("return to main menu")),
MENU_ENT_NEST('r', N_("return from BSD to DOS"), FDISK_DISKLABEL_BSD, FDISK_DISKLABEL_DOS),
MENU_ENT_NEST('r', N_("return from BSD to DOS (MBR)"), FDISK_DISKLABEL_BSD, FDISK_DISKLABEL_DOS),
MENU_ENT_NEST('r', N_("return from protective/hybrid MBR to GPT"), FDISK_DISKLABEL_DOS, FDISK_DISKLABEL_GPT),
@ -138,7 +138,7 @@ static const struct menu menu_createlabel = {
MENU_SEP(N_("Create a new label")),
MENU_ENT('g', N_("create a new empty GPT partition table")),
MENU_ENT('G', N_("create a new empty SGI (IRIX) partition table")),
MENU_ENT('o', N_("create a new empty DOS partition table")),
MENU_ENT('o', N_("create a new empty MBR (DOS) partition table")),
MENU_ENT('s', N_("create a new empty Sun partition table")),
/* backward compatibility -- be sensitive to 'g', but don't

View File

@ -708,7 +708,7 @@ static int dos_create_disklabel(struct fdisk_context *cxt)
/* Put MBR signature */
mbr_set_magic(cxt->firstsector);
fdisk_info(cxt, _("Created a new DOS disklabel with disk "
fdisk_info(cxt, _("Created a new DOS (MBR) disklabel with disk "
"identifier 0x%08x."), id);
return 0;
}