]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
repart: add --append-fstab parameter (#37238)
authorLuca Boccassi <bluca@debian.org>
Tue, 20 May 2025 13:49:43 +0000 (14:49 +0100)
committerGitHub <noreply@github.com>
Tue, 20 May 2025 13:49:43 +0000 (14:49 +0100)
If --generate-fstab=PATH is used, there is the possibility that the
fstab file already exists, making systemd-repart fail.

This commit will add a new --append-fstab= parameter, that will read
the file and merge it with the new generated content.  Using the
comments, the command can separate the automatic-generated section from
the user-provided section, allowing for the next append the replacement
only of the automatic-generated section, keeping the user one.


Trivial merge