diff --git a/disk-utils/cfdisk.8 b/disk-utils/cfdisk.8 index dcceef13a..20c021eea 100644 --- a/disk-utils/cfdisk.8 +++ b/disk-utils/cfdisk.8 @@ -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 diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index 74f3322c8..5ae21e73a 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -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"),