diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-05-05 18:48:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-05-07 16:13:07 +0200 |
commit | c0440512e619d70d54ab5fa27acc63d5184fb46a (patch) | |
tree | 13bdfc2d7b58b0f4c7d403f8ed4d55cdcf1681a7 /docs/HOME_DIRECTORY.md | |
parent | 28a7f10620313bb055709e8d2657b18af6380c43 (diff) | |
download | systemd-c0440512e619d70d54ab5fa27acc63d5184fb46a.tar.gz |
docs: document the new offline discard logic
Diffstat (limited to 'docs/HOME_DIRECTORY.md')
-rw-r--r-- | docs/HOME_DIRECTORY.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/HOME_DIRECTORY.md b/docs/HOME_DIRECTORY.md index c517cf573c..d82aca7065 100644 --- a/docs/HOME_DIRECTORY.md +++ b/docs/HOME_DIRECTORY.md @@ -168,6 +168,10 @@ If the UID assigned to a user does not match the owner of the home directory in the file system, the home directory is automatically and recursively `chown()`ed to the correct UID. -Depending on the `discard` setting of the user record either the backing +Depending on the `luksDiscard` setting of the user record either the backing loopback file is `fallocate()`ed during activation, or the mounted file system is `FITRIM`ed after mounting, to ensure the setting is correctly enforced. + +When deactivating a home directory, the file system or block device is trimmed +or extended as configured in the `luksOfflineDiscard` setting of the user +record. |