Hard drive utility

fdisk – manipulate disk partition tables

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
GPartedPopular partition editor for graphically managing your disk partitions
KDE Partition ManagerDisk partitioning application for the KDE Platform
GNOME DisksThe disk utility in GNOME
PartedGParted and KDE Partition Manager use the Parted libraries
GPT fdiskSet of text-mode partitioning tools
fdiskCommand-line utility for creating and editing disk partitions
disktuiTUI for disk management and partitioning
YaST Expert PartitionerAdvanced graphical tool for managing disks and partitions
systemd-repartDeclarative tool for automatically configuring disk partitions
blivet-guiGraphical tool for storage configuration

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted