Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux cfdisk Command

Linux cfdisk Command

Linux Command Reference Linux Command Reference

The Linux cfdisk command is used for disk partitioning.

cfdisk is a program for disk partitioning. It is very similar to DOS's fdisk, but has an interactive interface rather than the traditional question-and-answer interface of fdisk, so you can easily use the arrow keys to control partition operations.

Syntax



cfdisk [-avz][-c <柱面数目>-h <磁头数目>-s <盘区数目>][-P ][外围设备代号]

Parameter Description:

Example

Perform disk partitioning:



# cfsik

Perform disk partitioning using arrows rather than highlighting:



# cfsik -a

Perform disk partitioning using arrows rather than highlighting:



# cfsik -s 3

Linux Command Reference Linux Command Reference