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 |
| fdisk | Command-line utility for creating and editing disk partitions |
| disktui | TUI for disk management and partitioning |
| YaST Expert Partitioner | Advanced graphical tool for managing disks and partitions |
| systemd-repart | Declarative tool for automatically configuring disk partitions |
| blivet-gui | Graphical tool for storage configuration |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.