fdisk is a command-line partitioning utility supplied as part of util-linux. It provides an interactive interface for creating and modifying disk partition tables.
The program is designed primarily for human interaction rather than scripted partitioning. It understands both modern GPT layouts and traditional MBR partition tables.
fdisk takes device topology and sector alignment into account when choosing default partition boundaries, helping to produce sensible layouts on modern storage devices.
This is free and open source software.
Key Features
- Creates, deletes and modifies partitions through an interactive command interface.
- Supports GPT, MBR/DOS, Sun, SGI and BSD disk labels.
- Displays existing partition layouts and detailed information about block devices.
- Creates partitions using sector numbers or human-readable size specifications.
- Automatically aligns partitions according to the storage device’s I/O topology.
- Edits partition types, names, UUIDs and other label-specific attributes where supported.
- Can display unused regions of a disk to help identify available partitioning space.
- Detects existing filesystem, RAID and partition-table signatures and can wipe conflicting signatures when requested.
Website: github.com/util-linux/util-linux
Support:
Developer: util-linux developers
License: GNU General Public License v1.0
fdisk is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Partitioning Tools | |
|---|---|
| GParted | Popular partition editor for graphically managing your disk partitions |
| KDE Partition Manager | Disk partitioning application for the KDE Platform |
| GNOME Disks | The disk utility in GNOME |
| Parted | GParted and KDE Partition Manager use the Parted libraries |
| GPT fdisk | Set of text-mode partitioning tools |
| disktui | TUI for disk management and partitioning |
| blivet-gui | Graphical tool for storage configuration |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.