cfdisk

cfdisk

cfdisk is a Linux partition editor, similar to fdisk, but with a different user interface (curses). It is part of the util-linux package of Linux utility programs.

Originally written in 1992, the current version is 2.12r.

If invoked without arguments, cfdisk attempts to read the current partition table from the disk drive and present its findings.

One advantage of cfdisk (over fdisk for example) is that it's possible to enlarge an Extended Partition when there's free space after the partition. This is not directly possible with fdisk and some other partitioning software.[1]

Below is a screen capture from the most recent version of cfdisk immediately after start-up.

                                  cfdisk 2.12r

                              Disk Drive: /dev/sda
                        Size: 81964302336 bytes, 81.9 GB
              Heads: 255   Sectors per Track: 63   Cylinders: 9964

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 -
    sda2        Boot        Primary   Linux ext3                      106.93
                            Primary   Linux swap       / Solaris      2006.97
    sda3                    Primary   Linux ext3                      79842.80









     [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]
     [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]

                 Toggle bootable flag of the current partition

See also

References

  1. ^ Computing - UK technology news source

External links