On 02/01/2015 09:00 AM, Benno Schulenberg wrote: > Also sort T into its proper position, improve the wording of U, > and add the Left and Right arrow keys. > > Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxxxxx> > --- > disk-utils/cfdisk.8 | 38 +++++++++++++++++++++++--------------- > 1 files changed, 23 insertions(+), 15 deletions(-) > > diff --git a/disk-utils/cfdisk.8 b/disk-utils/cfdisk.8 > index dc30b70..e4577d5 100644 > --- a/disk-utils/cfdisk.8 > +++ b/disk-utils/cfdisk.8 > @@ -66,9 +66,8 @@ Display version information and exit. > .BR \-z , " \-\-zero" > Start with an in-memory zeroed partition table. This option does not zero the > partition table on the disk; rather, it simply starts the program without > -reading the existing partition table. This option allows to a create new > -partition table from scratch or create a new partition table according to > -a sfdisk compatible script. > +reading the existing partition table. This option allows you to create a new > +partition table from scratch or from an sfdisk-compatible script. > > .SH COMMANDS > The commands for > @@ -107,22 +106,27 @@ 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 u > -Dump the current in-memory partition table to the sfdisk compatible file. > -.sp > -The script files are compatible between cfdisk, sfdisk, fdisk and another > -libfdisk applications. For more details see > -.BR sfdisk (8). > -.sp > -It is also possible to load sfdisk script to cfdisk if there is no partition > -table on the device or when you start cfdisk with \fI--zero\fR command line > -option. > +.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 > +no longer match their order on the disk. This command restores that match. > .TP > .B t > Change the partition type. By default, new partitions are created as > .I Linux > partitions. > .TP > +.B u > +Dump the current in-memory partition table to an sfdisk-compatible script file. > +.sp > +The script files are compatible between \fBcfdisk\fR, \fBfdisk\fR, \fBsfdisk\fR > +and other libfdisk applications. For more details see > +.BR sfdisk (8). > +.sp > +It is also possible to load an sfdisk-script into \fBcfdisk\fR if there is > +no partition table on the device or when you start \fBcfdisk\fR with the > +\fB--zero\fR command-line option. +It is also possible to load an sfdisk-script into \fBcfdisk\fR, if there is +no partition table on the device, or when you start \fBcfdisk\fR with the +\fB--zero\fR command-line option. > +.TP > .B W > Write the partition table to disk (you must enter an uppercase W). Since > this might destroy data on the disk, you must either confirm or deny > @@ -143,13 +147,17 @@ Move the cursor to the previous or next partition. If there are more > partitions than can be displayed on a screen, you can display the next > (previous) set of partitions by moving down (up) at the last (first) > partition displayed on the screen. > +.TP > +.IR "Left Arrow" , " Right Arrow" > +Select the preceding or the next menu item. Hitting \fIEnter\fR will > +execute the currently selected item. > > .PP > All commands can be entered with either uppercase or lowercase > letters (except for > .BR W rite). > -When in a submenu or at a prompt for entering a size, you can hit the > -.I ESC > +When in a submenu or at a prompt, you can hit the > +.I Esc > key to return to the main menu. s/can hit/may use/ > > .SH COLORS > -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html