]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: add hint about labels for bootable flag
authorKarel Zak <kzak@redhat.com>
Mon, 12 Jun 2023 10:33:01 +0000 (12:33 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 12 Jun 2023 10:34:16 +0000 (12:34 +0200)
Addresses: https://github.com/util-linux/util-linux/discussions/2220
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/cfdisk.c

index 5f4de8b487034c066791b0db50d2cf2a8ee633ea..2e29421d72b6e0f5bd0a3585e8c771deaf566faa 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * cfdisk.c - Display or manipulate a disk partition table.
  *
- *     Copyright (C) 2014-2015 Karel Zak <kzak@redhat.com>
+ *     Copyright (C) 2014-2023 Karel Zak <kzak@redhat.com>
  *     Copyright (C) 1994 Kevin E. Martin (martin@cs.unc.edu)
  *
  *     The original cfdisk was inspired by the fdisk program
@@ -2257,7 +2257,8 @@ static int ui_help(void)
                "  ",
                N_("Command      Meaning"),
                N_("-------      -------"),
-               N_("  b          Toggle bootable flag of the current partition"),
+               N_("  b          Toggle bootable flag of the current partition;"),
+               N_("               implemented for DOS (MBR) and SGI labels only"),
                N_("  d          Delete the current partition"),
                N_("  h          Print this screen"),
                N_("  n          Create new partition from free space"),
@@ -2281,7 +2282,7 @@ static int ui_help(void)
                N_("Use lsblk(8) or partx(8) to see more details about the device."),
                "  ",
                "  ",
-               "Copyright (C) 2014-2017 Karel Zak <kzak@redhat.com>"
+               "Copyright (C) 2014-2023 Karel Zak <kzak@redhat.com>"
        };
 
        erase();