[parted-devel] Mistake in info manual, rm description

Nikolaos Chatzikonstantinou nchatz314 at gmail.com
Sun Feb 6 10:14:46 GMT 2022


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

- From 1e935d818b30879c4481f0ad4854b9d20e827b7e Mon Sep 17 00:00:00 2001
From: Nikolaos Chatzikonstantinou <nchatz314 at gmail.com>
Date: Sun, 6 Feb 2022 19:05:07 +0900
Subject: [PATCH] doc: Mention `rescue` instead of `mkpart` in `rm`.

The node on `rm` suggests to use `mkpart` to recover a mistakenly
deleted partition; just two nodes before, the `rescue` partition
illustrates an example of this exact situation.

We change `mkpart` to `rescue` and add a cross-reference to it.

Signed-off-by: Nikolaos Chatzikonstantinou <nchatz314 at gmail.com>
- ---
 doc/parted.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/parted.texi b/doc/parted.texi
index bc981de..8643750 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

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEHHHUCYKNdWl5h845DtNR6zceZEgFAmH/n24ACgkQDtNR6zce
ZEiICA//czKL2uBtQvrakCawndJp6sQ9NBX+oNjzYBB3zbrlsAdBNXcc6z1XPdoq
bQIcKrI09PdCvJioIT3hsEVHLlzDudj+H8vlu8VeGpuPcojKSoM11U6QEFfv2K3d
7k1/IOCvKAiTEO9ZV7lvF5ohKSUu98LKTvrHHqYyD9EPaforTjj/cmceD1BS26gp
56iim7ZPeDEdta/VaPIbeAt357tTQqic9o7cg7ip4OPa1KDPPobk8Ic+bvZxxeE+
RNAfLoz+dFOurxHgMa6wZGz+3R30MwdJfV9+LJAMccKPuH+S0rmN2ZswlQU/XRvw
D55D0WmHJl8jNjhPxjnLhaqQFjsi7jskESDaVqbcwB5AxynMBfesX2M0/7iMGjij
smB7BxSO4JiFtSicUpMpP3qXAvGtJKbmeffAsCJkqN1W5tK+ZLomUP9qWk3zRhwt
2RO29ZjLeqMKG6RmcW/vVab+Y4DAZeaPFnQaSEZrlY78aIlfV2sjfkfz/3Q43dwU
cDtl+0129M9tkkomC/mKnPmXWscBhlFOxXqoYF1Zw8U+AQBcZGLaBcDH6z6ndf2C
IC+oAkUa5WPfTiBcGSVQZo17ILfpEvk9gbTmJKuO/dpw8tbvMVI2DZwQ+KN1/HFd
ue4q9U0pfe2jWAJc2kiCQ/6vWG9j0fgZk5cLU12MlIKyY05kRhQ=
=tpa9
-----END PGP SIGNATURE-----



More information about the parted-devel mailing list