Get the App
SLTechnology News&Howtos  ›  Servers  › 

What is the use of the Cfdisk instruction in Linux

Shulou Source: shulou.com Published: 2022-06-01 00:28:04 11月14日 Update

Editor to share with you what is the use of Cfdisk instructions in Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Cfdisk directive: disk partition

Syntax: cfdisk [required parameters] [optional parameters]

Function description: cfdisk instruction is a mouse-based program for hard disk partition. Typical parameter values for hard disk devices are shown below.

/ dev/hda [default] .

/ dev/hdb .

/ dev/sda .

/ dev/sdb .

/ dev/sdc .

/ dev/sdd .

Parameter description:

The details of the necessary parameters are as follows:

Parameter number

Work and energy

-a

Use arrows to indicate selections, not inverted ones

-P

Display the contents of the disk partition

-z

Use it directly as a new disk

The selectivity parameters are described as follows:

Parameter number

Work and energy

-c

Specify the number of cylinders regardless of the setting of BIOS

-h

Specify the number of heads regardless of the setting of BIOS

S

Specify the number of disk partitions regardless of BIOS settings

-v

Version information

Implementation example:

Example 693 partitions the disk.

Root@localhost:~# cfsik / / partition the disk

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.

Example 694 uses arrows instead of a white representation.

Root@localhost:~# cfsik-a _

Example 695 specifies the number of disk partitions for disk partitions.

Root@localhost:~# cfsik-s 3thumb / partition the disk, use arrows to operate, instead of using an overlay to indicate that the above is all the content of the article "what is the use of the Cfdisk instruction in Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Disks parameters instructions number arrowheads examples content articles essentials hard drives options mouse selections not much information typical functions graphics most more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn NVidia macOS Shulou Tech Info Shulou Information