Latest web development tutorials

Linux cfdisk command

Linux command Daquan Linux command Daquan

Linux cfdisk command disk partitions.

cfdisk is used for disk partitioning program, which is very similar to the DOS fdisk, having an interactive user interface instead of the traditional fdisk Q-driven interface, you can easily use the arrow keys to control partitioning.

grammar

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

Parameter Description:

  • -a highlight in the program do not select representatives, and with arrows.
  • -c <number of cylinders> Ignore BIOS values, the number of cylinders of the disk directly specified.
  • -h <number of heads> Ignore BIOS values, the number of head disk directly specified.
  • -P <R, s, t> displays the contents of the partition table, additional parameters "r" will show the details of the entire partition table, additional parameters "s" will be displayed in the order of the magnetic domain-related information, additional parameters "t" is in the head, the magnetic domain, cylindrical way to display information.
  • -s <number of magnetic region> Ignore BIOS values, the number of magnetic disks directly designated area.
  • -v Displays version information.
  • -z Do not read existing partition, as there is no direct use of the new disk partitions.

Examples

Disk partitioning:

# cfsik

Disk partition, use the arrows to operate without the use of anti-white, he said:

# cfsik -a

Disk partition, use the arrows to operate without the use of anti-white, he said:

# cfsik -s 3

Linux command Daquan Linux command Daquan