summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorxujing <xujing125@huawei.com>2024-10-16 09:19:09 +0200
committerLennart Poettering <lennart@poettering.net>2024-10-16 16:07:26 +0200
commitcc2030f928981947db8fb9ec185a82024abab2c4 (patch)
tree4401043481deba9ff8b7bbdda261e81b89fb365f /docs
parentMerge pull request #34791 from poettering/live-mount-tweak (diff)
downloadsystemd-cc2030f928981947db8fb9ec185a82024abab2c4.tar.xz
systemd-cc2030f928981947db8fb9ec185a82024abab2c4.zip
pid1: add env var to override default mount rate limit interval
Similar to 24a4542c. 24a4542c can only be set 1 in 1s at most, sometimes we may need to set to something else(such as 1 in 2s). So it's best to let the user decide. This also allows users to solve #34690.
Diffstat (limited to 'docs')
-rw-r--r--docs/ENVIRONMENT.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md
index f6f1216c05..cf5fb91eb9 100644
--- a/docs/ENVIRONMENT.md
+++ b/docs/ENVIRONMENT.md
@@ -351,6 +351,13 @@ All tools:
default is not appropriate for a given system. Defaults to `5`, accepts
positive integers.
+* `$SYSTEMD_DEFAULT_MOUNT_RATE_LIMIT_INTERVAL_SEC` — can be set to override the mount
+ units interval rate limit for parsing `/proc/self/mountinfo`. Similar to
+ `$SYSTEMD_DEFAULT_MOUNT_RATE_LIMIT_BURST`, the interval limit maybe adjusted when
+ the default is not appropriate for a given system. The default value is 1 and the
+ default application time unit is second, and the time unit can beoverriden as usual
+ by specifying it explicitly, see the systemd.time(7) man page.
+
`systemd-remount-fs`:
* `$SYSTEMD_REMOUNT_ROOT_RW=1` — if set and no entry for the root directory