summaryrefslogtreecommitdiffstats
path: root/man/homectl.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-19 09:58:34 +0100
committerLennart Poettering <lennart@poettering.net>2021-11-23 10:03:01 +0100
commit078dfb0641787d7b06cef8b8bbe6a0c1aa96378a (patch)
tree059303b696cdb8c898ba5c9e576c2d6bb9dc7118 /man/homectl.xml
parenthomework: correct initial minimal fs size calculations by LUKS2/GPT overhead (diff)
downloadsystemd-078dfb0641787d7b06cef8b8bbe6a0c1aa96378a.tar.xz
systemd-078dfb0641787d7b06cef8b8bbe6a0c1aa96378a.zip
man: document min/max for --disk-space= too
Diffstat (limited to 'man/homectl.xml')
-rw-r--r--man/homectl.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/man/homectl.xml b/man/homectl.xml
index 89af3d77c7..76743e9d65 100644
--- a/man/homectl.xml
+++ b/man/homectl.xml
@@ -504,10 +504,13 @@
<varlistentry>
<term><option>--disk-size=</option><replaceable>BYTES</replaceable></term>
<listitem><para>Either takes a size in bytes as argument (possibly using the usual K, M, G, …
- suffixes for 1024 base values), or a percentage value and configures the disk space to assign to the
- user. If a percentage value is specified (i.e. the argument suffixed with <literal>%</literal>) it is
- taken relative to the available disk space of the backing file system. If the LUKS2 backend is used
- this configures the size of the loopback file and file system contained therein. For the other
+ suffixes for 1024 base values), a percentage value, or the special strings <literal>min</literal> or
+ <literal>max</literal>, and configures the disk space to assign to the user. If a percentage value is
+ specified (i.e. the argument suffixed with <literal>%</literal>) it is taken relative to the
+ available disk space of the backing file system. If specified as <literal>min</literal> assigns the
+ minimal disk space permitted by the constraints of the backing file system and other limits, when
+ specified as <literal>max</literal> assigns the maximum disk space available. If the LUKS2 backend is
+ used this configures the size of the loopback file and file system contained therein. For the other
storage backends configures disk quota using the filesystem's native quota logic, if available. If
not specified, defaults to 85% of the available disk space for the LUKS2 backend and to no quota for
the others.</para></listitem>