50 lines
1.7 KiB
Diff
50 lines
1.7 KiB
Diff
|
|
From 793e8d2ab81324d0a712132b26ee16c08575101b Mon Sep 17 00:00:00 2001
|
||
|
|
From: Karel Zak <kzak@redhat.com>
|
||
|
|
Date: Mon, 12 Jun 2023 12:33:01 +0200
|
||
|
|
Subject: [PATCH] cfdisk: add hint about labels for bootable flag
|
||
|
|
|
||
|
|
Addresses: https://github.com/util-linux/util-linux/discussions/2220
|
||
|
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||
|
|
|
||
|
|
Reference:https://github.com/util-linux/util-linux/commit/793e8d2ab81324d0a712132b26ee16c08575101b
|
||
|
|
Conflict:NA
|
||
|
|
---
|
||
|
|
disk-utils/cfdisk.c | 7 ++++---
|
||
|
|
1 file changed, 4 insertions(+), 3 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
|
||
|
|
index 5f4de8b48..2e29421d7 100644
|
||
|
|
--- a/disk-utils/cfdisk.c
|
||
|
|
+++ b/disk-utils/cfdisk.c
|
||
|
|
@@ -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();
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|