From: Jonas Rebmann Date: Tue, 7 Apr 2026 09:06:25 +0000 (+0200) Subject: repart: Do not refer to SizeMinBytes= as SizeMin= X-Git-Tag: v261-rc1~577^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=07745c222c8a323c4c9c09407bab70aa2a3ec2f8;p=thirdparty%2Fsystemd.git repart: Do not refer to SizeMinBytes= as SizeMin= No SizeMin= option exists for repart.d; it seems that SizeMinBytes= was intended. Update all references accordingly. Signed-off-by: Jonas Rebmann --- diff --git a/man/repart.d.xml b/man/repart.d.xml index f3ed246b6ec..217692d8135 100644 --- a/man/repart.d.xml +++ b/man/repart.d.xml @@ -402,7 +402,7 @@ be empty. If this option is used, the size allocation algorithm is slightly altered: the partition is created at least as big as required to fit the data in, i.e. the data size is an additional minimum size value taken into consideration for the allocation algorithm, similar to and in addition to the - SizeMin= value configured above. + SizeMinBytes= value configured above. This option has no effect if the partition it is declared for already exists, i.e. existing data is never overwritten. Note that the data is copied in before the partition table is updated, diff --git a/src/repart/repart.c b/src/repart/repart.c index 0417d4133a9..e9cd0d85699 100644 --- a/src/repart/repart.c +++ b/src/repart/repart.c @@ -1116,7 +1116,7 @@ static uint64_t partition_min_size(const Context *context, const Partition *p) { * exists the current size is what we really need. If it doesn't exist yet refuse to allocate less * than 4K. * - * DEFAULT_MIN_SIZE is the default SizeMin= we configure if nothing else is specified. */ + * DEFAULT_MIN_SIZE is the default SizeMinBytes= we configure if nothing else is specified. */ if (PARTITION_IS_FOREIGN(p)) { /* Don't allow changing size of partitions not managed by us */