summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLily Foster <lily@lily.flowers>2023-01-25 18:52:06 -0500
committerLily Foster <lily@lily.flowers>2023-01-25 19:05:11 -0500
commit905dd992f8fbfe486e68808ce88e1662c970ab35 (patch)
treec2c75edb7f563a4c3d60c075aa35a7f4d5e0ac79 /docs
parentdfce61dda7b7b15b910221e5ca1673b371554368 (diff)
downloadsystemd-905dd992f8fbfe486e68808ce88e1662c970ab35.tar.gz
fstab-generator: add SYSTEMD_SYSFS_CHECK env var
This forces processing of /dev entries in fstab when running in a container is detected (checked as the existence of read-only /sys).
Diffstat (limited to 'docs')
-rw-r--r--docs/ENVIRONMENT.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md
index ef0141e1a6..9f5666c019 100644
--- a/docs/ENVIRONMENT.md
+++ b/docs/ENVIRONMENT.md
@@ -54,6 +54,10 @@ All tools:
* `$SYSTEMD_SYSROOT_FSTAB` — if set, use this path instead of
`/sysroot/etc/fstab`. Only useful for debugging `systemd-fstab-generator`.
+* `$SYSTEMD_SYSFS_CHECK` — takes a boolean. If set, overrides sysfs container
+ detection that ignores `/dev/` entries in fstab. Only useful for debugging
+ `systemd-fstab-generator`.
+
* `$SYSTEMD_CRYPTTAB` — if set, use this path instead of `/etc/crypttab`. Only
useful for debugging. Currently only supported by
`systemd-cryptsetup-generator`.