Hi, Pascal Hambourg <pas...@plouf.fr.eu.org> wrote (Thu, 21 Aug 2025 13:34:38 +0200): > On 19/08/2025 at 23:16, Holger Wansing wrote: > > > > Patch attached. > > Note that other templates mention supported and/or default partition > size units and should be updated too: > > partman-partitioning/new_size (resize existing partition) > partman-partitioning/bad_new_size (invalid size) > partman-partitioning/new_partition_size (create new partition)
An updated patch is attached. Holger -- Holger Wansing <hwans...@mailbox.org> PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076
diff --git a/debian/partman-partitioning.templates b/debian/partman-partitioning.templates index 298a3ae..8db39d8 100644 --- a/debian/partman-partitioning.templates +++ b/debian/partman-partitioning.templates @@ -29,33 +29,33 @@ _Description: Write previous changes to disk and continue? Template: partman-partitioning/new_size Type: string Default: some number # :sl2: _Description: New partition size: The minimum size for this partition is ${MINSIZE} (or ${PERCENT}) and its maximum size is ${MAXSIZE}. . Hint: "max" can be used as a shortcut to specify the maximum size, or enter a percentage (e.g. "20%") to use that percentage of the maximum size. You can specify partition sizes in decimal units (like MB or GB) as well as - in binary units (like GiB or TiB). + in binary units (like GiB or TiB). The default unit is Gigabytes (GB). Template: partman-partitioning/bad_new_size Type: error # :sl2: _Description: The size entered is invalid The size you entered was not understood. Please enter a positive integer size followed by an optional unit of measure - (e.g. "200 GB"). The default unit of measure is the megabyte. + (e.g. "200 GB"). The default unit of measure is Gigabytes (GB). Template: partman-partitioning/big_new_size Type: error # :sl2: _Description: The size entered is too large The size you entered is larger than the maximum size of the partition. Please enter a smaller size to continue. Template: partman-partitioning/small_new_size Type: error # :sl2: _Description: The size entered is too small @@ -71,25 +71,25 @@ _Description: Resize operation failure The resize operation has been aborted. Template: partman-partitioning/new_partition_size Type: string Default: some number # :sl2: _Description: New partition size: The maximum size for this partition is ${MAXSIZE}. . Hint: "max" can be used as a shortcut to specify the maximum size, or enter a percentage (e.g. "20%") to use that percentage of the maximum size. You can specify partition sizes in decimal units (like MB or GB) as well as - in binary units (like GiB or TiB). + in binary units (like GiB or TiB). The default unit is Gigabytes (GB). Template: partman-partitioning/bad_new_partition_size Type: error # :sl2: _Description: Invalid size Template: partman-partitioning/new_partition_place Type: select # :sl1: __Choices: Beginning, End # :sl1: _Description: Location for the new partition: