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
disktuiTUI for disk management and partitioning
blivet-guiGraphical tool for storage configuration

Read our verdict in the software roundup.


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

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted