summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2022-03-28 16:39:56 -0700
committerBrian C. Lane <bcl@redhat.com>2022-03-28 16:39:56 -0700
commit34d713f51b21d2335313d043b272e36763ee4283 (patch)
treee199e6c8ec33bd48434f63a19073960bfb89584a
parent0a4e431449397e14e7c4b7fc1c89c59cdcae8045 (diff)
downloadparted-34d713f51b21d2335313d043b272e36763ee4283.tar.gz
doc: Add KiB and mention rescue in documentation
-rw-r--r--doc/C/parted.82
-rw-r--r--doc/parted.texi2
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.