]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
repart: Do not refer to SizeMinBytes= as SizeMin= 41534/head
authorJonas Rebmann <jre@pengutronix.de>
Tue, 7 Apr 2026 09:06:25 +0000 (11:06 +0200)
committerJonas Rebmann <jre@pengutronix.de>
Tue, 7 Apr 2026 09:15:54 +0000 (11:15 +0200)
No SizeMin= option exists for repart.d; it seems that SizeMinBytes= was
intended.

Update all references accordingly.

Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
man/repart.d.xml
src/repart/repart.c

index f3ed246b6ec470d97c50921ef0ef8a06540ac417..217692d8135514697c2dd38b332b7a671d424503 100644 (file)
         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
-        <varname>SizeMin=</varname> value configured above.</para>
+        <varname>SizeMinBytes=</varname> value configured above.</para>
 
         <para>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,
index 0417d4133a9cd672a7c99d902a732479b7228f79..e9cd0d85699a7472d3596a3d6c149974be5e77a1 100644 (file)
@@ -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 */