]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Manual pages: document the 'resize' command
authorVincent McIntyre <vincent.mcintyre@csiro.au>
Fri, 1 Jan 2021 02:37:52 +0000 (13:37 +1100)
committerVincent McIntyre <vincent.mcintyre@csiro.au>
Fri, 1 Jan 2021 02:37:52 +0000 (13:37 +1100)
Reported in https://bugs.debian.org/906918, https://bugs.debian.org/915971.

Signed-off-by: Vincent McIntyre <vincent.mcintyre@csiro.au>
disk-utils/cfdisk.8

index a61aad71f31df03a473ddb23e16d9c76dfcfd7dc..4e3dfca1a8803af5ecf5f9ae36fa8d8d170b3d28 100644 (file)
@@ -115,6 +115,15 @@ MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB and YiB
 Quit the program.  This will exit the program without writing any data to
 the disk.
 .TP
+.B r
+Reduce or enlarge the current partition.
+.B cfdisk
+then prompts you for the new size of the partition.
+The default size is the current size.
+A partition marked as free space or marked as unusable cannot be resized.
+
+Note that reducing the size of a partition might destroy data on that partition.
+.TP
 .B s
 Sort the partitions in ascending start-sector order.  When deleting and
 adding partitions, it is likely that the numbering of the partitions will