[parted-devel] [PATCH] doc: Add KiB and mention rescue in documentation
Brian C. Lane
bcl at redhat.com
Tue Mar 29 00:40:41 BST 2022
---
doc/C/parted.8 | 2 +-
doc/parted.texi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/C/parted.8 b/doc/C/parted.8
index cf0b829..7895440 100644
--- a/doc/C/parted.8
+++ b/doc/C/parted.8
@@ -126,7 +126,7 @@ Supported flags are: "boot", "root", "swap", "hidden", "raid", "lvm", "lba",
.B unit \fIunit\fP
Set \fIunit\fP as the unit to use when displaying locations and sizes, and for
interpreting those given by the user when not suffixed with an explicit unit.
-\fIunit\fP can be one of "s" (sectors), "B" (bytes), "kB", "MB", "MiB", "GB",
+\fIunit\fP can be one of "s" (sectors), "B" (bytes), "kB", "MB", "KiB", "MiB", "GB",
"GiB", "TB", "TiB", "%" (percentage of device size), "cyl" (cylinders), "chs"
(cylinders, heads, sectors), or "compact" (megabytes for input, and a
human-friendly form for output).
diff --git a/doc/parted.texi b/doc/parted.texi
index 13503f2..8a3978a 100644
--- a/doc/parted.texi
+++ b/doc/parted.texi
@@ -870,7 +870,7 @@ but when shrinking, you need to shrink the filesystem before the partition.
@deffn Command rm @var{number}
Removes the partition with number @var{number}. If you accidentally delete
-a partition with this command, use mkpart to
+a partition with this command, use @pxref{rescue} to
recover it. Also, you can use the gpart program (@pxref{Related information})
to recover damaged disk labels.
--
2.34.1
More information about the parted-devel
mailing list