Merge branch 'disk-utils-document-resize' of https://github.com/vdmz/util-linux

This commit is contained in:
Karel Zak 2021-01-05 14:32:22 +01:00
commit 0257109c33
2 changed files with 10 additions and 0 deletions

View File

@ -118,6 +118,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

View File

@ -2209,6 +2209,7 @@ static int ui_help(void)
N_(" h Print this screen"),
N_(" n Create new partition from free space"),
N_(" q Quit program without writing partition table"),
N_(" r Reduce or enlarge the current partition"),
N_(" s Fix partitions order (only when in disarray)"),
N_(" t Change the partition type"),
N_(" u Dump disk layout to sfdisk compatible script file"),