Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the cfdisk command of linux for disk partitions

Shulou Source: shulou.com Published: 2022-06-02 18:07:02 10月14日 Update

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!

Tags: Disk interface program command parameter instruction numerical value number arrow article mouse no representative information content graphics finished example commonly used direction Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Huawei Shulou Tech Info vpn NVidia