Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the cfdisk command of linux for disk partitions

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report