From 905dd992f8fbfe486e68808ce88e1662c970ab35 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Wed, 25 Jan 2023 18:52:06 -0500 Subject: 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). --- docs/ENVIRONMENT.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/ENVIRONMENT.md') 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`. -- cgit v1.2.1