]> git.ipfire.org Git - thirdparty/systemd.git/commit
repart: Add BlockDeviceReplace=
authorValentin David <me@valentindavid.com>
Thu, 12 Mar 2026 22:14:52 +0000 (23:14 +0100)
committerValentin David <me@valentindavid.com>
Tue, 12 May 2026 16:31:25 +0000 (18:31 +0200)
commitc07fcbb50747cf1b37e3bf7d86e55d3734da9455
treeb80dc26dae4c7397944d343e27fe1ae2c8ae5f83
parent77b15343bcd861b866007035895e9a51bd0a0063
repart: Add BlockDeviceReplace=

BlockDeviceReplace=/mntpnt will move the btrfs filesystem from mount point to
the partition created. After moving, it will resize to take the whole
partition.

This is useful for OS installers that move a live system into a disk and
do not require a reboot.
man/repart.d.xml
src/repart/repart.c
src/shared/btrfs-util.c
src/shared/btrfs-util.h