The cfdisk command can be used to display information about the disk partition table. Its function andfdiskThe same, but it has a text-based “graphical” interface, which is more intuitive, easy to use and convenient in operation and visualization.
The above is the graphical interface of cfdisk
cfdisk [-agvz] [-c cylinders] [-h heads] [-s sectors-per-track] [-P opt] [device]
-a # Use the arrow cursor to highlight the current zone -g # Do not use the geometry given by the disk driver -v # Print version number and copyright -z # Start with the zero partition table -s sectors-per-track # Covers the number of cylinders, heads, and sectors per track read from the BIOS.
Directly enter cfdisk command to enter the graphical interface
Press the up and down arrow keys to select the disk name
View help information
The basic use is the same as fdisk. Create a new disk partition
Select partition type
Select partition size
Write operation to disk
The basic operation is like this, very simple.