curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #02543
[Merge] ~dbungert/curtin:units-doc into curtin:master
Dan Bungert has proposed merging ~dbungert/curtin:units-doc into curtin:master.
Commit message:
doc: clarify size units
Requested reviews:
curtin developers (curtin-dev)
For more details, see:
https://code.launchpad.net/~dbungert/curtin/+git/curtin/+merge/430840
--
Your team curtin developers is requested to review the proposed merge of ~dbungert/curtin:units-doc into curtin:master.
diff --git a/doc/topics/storage.rst b/doc/topics/storage.rst
index 8eb738e..e182125 100644
--- a/doc/topics/storage.rst
+++ b/doc/topics/storage.rst
@@ -390,6 +390,9 @@ The partition size can be specified with the ``size`` key. Sizes must be
given with an appropriate SI unit, such as *B, kB, MB, GB, TB*, or using just
the appropriate SI prefix, i.e. *B, k, M, G, T...*
+Curtin interprets size units in power-of-2 style. This means that
+``1kB`` is the same as ``1k`` and ``1024``, and so on for all the prefixes.
+
.. note::
Curtin does not adjust or inspect size values. If you specify a size that
Follow ups