.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
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.
+.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
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.
.SH COLORS