]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: make it more obvious that DOS means MBR
authorKarel Zak <kzak@redhat.com>
Thu, 10 Nov 2022 08:24:23 +0000 (09:24 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 10 Nov 2022 08:24:23 +0000 (09:24 +0100)
Fixes: https://github.com/util-linux/util-linux/issues/1890
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk-menu.c
libfdisk/src/dos.c

index 2f22e59f433ba0d16f9a000da306dcbb88ae84e9..b41754b56569fa8cfaa0a84128c8a4cf58e61949 100644 (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
index 98bc61409a6b3785113aae65eae73f81788867d6..7970ae139b40095cbee02000fee318461d395bb5 100644 (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;
 }