summaryrefslogtreecommitdiffstats
path: root/src/home
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-05-05 15:05:59 +0200
committerLennart Poettering <lennart@poettering.net>2020-05-07 16:13:07 +0200
commit5e86c82acd45842ec5ffbb620d77e9f2c164a7b7 (patch)
tree57674af5b1f84d5009c3cf2bdf25c5bd93332b76 /src/home
parenthomed: allow overriding homework path via env var (diff)
downloadsystemd-5e86c82acd45842ec5ffbb620d77e9f2c164a7b7.tar.xz
systemd-5e86c82acd45842ec5ffbb620d77e9f2c164a7b7.zip
user-record: add new field for requesting LUKS discard on logout
We make this entirely independent of the regular discard field, i.e. the one that controls discard behaviour when the home directory is online. Not all combinations make a ridiculous amount of sense, but most do. Specifically: online-discard = yes, offline-discard = yes → Discard when activating explicitly, and during runtime using the "discard" mount option, and discard explicitly when logging out again. online-discard = no, offline-discard = yes → The new default: when logging in allocate the full backing store, and use no discard while active. When loging out discard everything. This provides nice behaviour: we take minimal storage when offline but provide allocation guarantees while online. online-discard = no, offline-discard = no → Never, ever discard, always operate with fully allocated backing store. The extra safe mode.
Diffstat (limited to 'src/home')
0 files changed, 0 insertions, 0 deletions