summaryrefslogtreecommitdiffstats
path: root/man/homectl.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-04 18:12:13 +0100
committerLennart Poettering <lennart@poettering.net>2021-11-25 18:28:44 +0100
commit21505c937ce3bcb90aae85366a262462ec8fb6b2 (patch)
tree2bc34edfd06ca92e00c88cdb96c6613a8a1647b6 /man/homectl.xml
parentuser-record: add rebalanceWeight field (diff)
downloadsystemd-21505c937ce3bcb90aae85366a262462ec8fb6b2.tar.xz
systemd-21505c937ce3bcb90aae85366a262462ec8fb6b2.zip
homectl: expose new rebalanceWeight JSON use record field
Diffstat (limited to 'man/homectl.xml')
-rw-r--r--man/homectl.xml22
1 files changed, 20 insertions, 2 deletions
diff --git a/man/homectl.xml b/man/homectl.xml
index 5ba93bbe13..ca9225a1e0 100644
--- a/man/homectl.xml
+++ b/man/homectl.xml
@@ -376,8 +376,8 @@
<para>Note that FIDO2 devices suitable for this option must implement the
<literal>hmac-secret</literal> extension. Most current devices (such as the YubiKey 5 series) do. If
the extension is not implemented the device cannot be used for unlocking home directories.</para>
-
- <para>The FIDO2 device may be subsequently removed by setting the device path to an empty string
+
+ <para>The FIDO2 device may be subsequently removed by setting the device path to an empty string
(e.g. <command>homectl update $USER --fido2-device=""</command>).</para>
<para>Note that many hardware security tokens implement both FIDO2 and PKCS#11/PIV (and thus may be
@@ -707,6 +707,24 @@
</varlistentry>
<varlistentry>
+ <term><option>--rebalance-weight=</option></term>
+
+ <listitem><para>Configures the weight parameter for the free disk space rebalancing logic. Only
+ applies to the LUKS2 backend (since for the LUKS2 backend disk space is allocated from a per-user
+ loopback file system instead of immediately from a common pool like the other backends do it). In
+ regular intervals free disk space in the active home areas and their backing storage is redistributed
+ among them, taking the weight value configured here into account. Expects an integer in the range
+ 1…10000, or the special string <literal>off</literal>. If not specified defaults to 100. The weight
+ is used to scale free space made available to the home areas: a home area with a weight of 200 will
+ get twice the free space as one with a weight of 100; a home area with a weight of 50 will get half
+ of that. The backing file system will be assigned space for a weight of 20. If set to
+ <literal>off</literal> no automatic free space distribution is done for this home area. Note that
+ resizing the home area explicitly (with <command>homectl resize</command> see below) will implicitly
+ turn off the automatic rebalancing. To reenable the automatic rebalancing use
+ <option>--rebalance-weight=</option> with an empty parameter.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--nosuid=</option><replaceable>BOOL</replaceable></term>
<term><option>--nodev=</option><replaceable>BOOL</replaceable></term>
<term><option>--noexec=</option><replaceable>BOOL</replaceable></term>