Cfdisk
Encyclopedia
cfdisk is a Linux
Linux
Linux is a Unix-like computer operating system assembled under the model of free and open source software development and distribution. The defining component of any Linux system is the Linux kernel, an operating system kernel first released October 5, 1991 by Linus Torvalds...

  partition editor
Partition editor
A partition editor is a kind of utility software designed to view, create, alter and delete disk partitions on a computer storage device, most commonly a hard disk, but often a USB flash drive or other storage medium.A partition is a section or segment of the storage space on a storage device...

, similar to fdisk
Fdisk
On personal computer operating systems, fdisk is a commonly used name for a command-line utility that provides disk partitioning functions...

, but with a different user interface (curses
Curses (programming library)
curses is a terminal control library for Unix-like systems, enabling the construction of text user interface applications.The name is a pun on the term “cursor optimization”. It is a library of functions that manage an application's display on character-cell terminals .- Overview :The curses API...

). It is part of the util-linux
Util-linux
util-linux is a standard package of the Linux operating system. A fork, util-linux-ng—with ng meaning "next generation"—was created when development stalled, but as of January 2011 has been renamed back to util-linux, and is the official version of the package.It includes the following...

 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.

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

  • format
    Format (command)
    Format is a command-line utility included in Microsoft DOS, IBM OS/2 and Microsoft Windows operating systems to produce disk formatting.The command will perform the following actions by default on a floppy drive, hard drive, solid-states , or other magnetic medium...

  • gpart
    Gpart
    Gpart is a software utility which scans a storage device, examining the data in order to detect partitions which may exist but are absent from the disk's partition tables. Gpart was written by Michail Brzitwa of Germany. The release on the author's website is now older than the releases some...

  • parted, gparted
    GParted
    GParted is a GTK+ front-end to GNU Parted and the official GNOME Partition Editor application.It is used for creating, deleting, resizing, moving, checking and copying partitions, and the file systems on them...

  • diskpart
    Diskpart
    In computing, diskpart is a command-line hard disk partitioning utility included in versions of the Windows NT operating system line from Windows 2000 onwards, replacing fdisk which was used in MS-DOS based operating systems....

  • List of disk partitioning software

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK