Use the cfdisk command of linux for disk partitions
Editor to share with you the use of linux's cfdisk command for disk partitions. I hope you will gain a lot after reading this article. Let's discuss it together.
Cfdisk is a program for disk partitioning, which is very similar to DOS's fdisk, with an interactive interface rather than the traditional fdisk question-and-answer interface, you can easily use the arrow keys to control the partition operation. The cfdisk instruction is a mouse-based program for hard disk partitions. After entering the instruction cfdisk, there will be the above graphical interface, which is based on the mouse and can be used to partition the disk.
Syntax format: cfdisk [parameters]
Common parameters:
-an in the program does not need to be highlighted for selection, but is indicated by the arrow-c ignores the value of BIOS, directly specifies the number of cylinders of the disk-P displays the contents of the partition table-s ignores the value of BIOS, directly specifies the number of sectors of the disk-v displays version information-z does not read existing partitions and is directly used as a new disk without partitions.
Reference example
Partition the disk:
[root@linuxcool ~] # cfsik
Partition the disk, using arrows instead of an overlay to indicate:
[root@linuxcool] # cfsik-an after reading this article, I believe you have some understanding of using linux's cfdisk command for disk partitioning. Want to know more about it. Welcome to follow the industry information channel. Thank you for reading!