Hard drive utility

systemd-repart – declarative disk partitioning tool

systemd-repart is a declarative tool for creating, growing and populating disk partitions. It forms part of the systemd project.

Unlike conventional interactive partition editors, systemd-repart works from partition definition files. This makes it particularly useful when building operating-system images or automatically configuring storage during deployment.

It can operate on physical block devices as well as disk-image files and includes facilities for creating complete disk images.

This is free and open source software.

Key Features

  • Creates and grows partitions according to declarative repart.d configuration files.
  • Can initialise new GPT partition tables and add missing partitions to existing layouts.
  • Operates on physical block devices and disk-image files.
  • Supports automatic expansion of root and other partitions to consume available disk space.
  • Can format newly created partitions and populate them with files or filesystem images.
  • Supports encrypted partitions, including LUKS2 and integration with TPM2-backed keys.
  • Can generate Verity-protected partitions and signed disk-image layouts.
  • Builds Discoverable Disk Images for system extensions, configuration extensions and portable services.
  • Dry-run operation shows proposed partitioning changes before writing them.
  • Supports reproducible layouts, configurable alignment and offline image construction.

Website: github.com/systemd/systemd
Support:
Developer: systemd developers
License: GNU Lesser General Public License v2.1

systemd-repart 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