commands.sh

systemd-repart

linux

Automatically grow and add partitions. Grows and adds partitions based on the configuration files described in repart.d. Does not automatically resize filesystem on partition. See systemd-growfs to extend filesystem.

More info →

Examples (3)

Grow the root partition (/) to all available disk space

View changes without applying

Grow root partition size to 10 gigabytes

systemd-repart --size 10G --root /
made by @shridhargupta | data from tldr-pages