From d21be5ff9177b25064f6e933e91f2c19a7190c19 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 27 Oct 2015 00:07:54 +0100 Subject: detect-virt: add new --chroot switch to detect chroot() environments --- man/systemd-detect-virt.xml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/systemd-detect-virt.xml b/man/systemd-detect-virt.xml index 9ea9141d4d..190ab19152 100644 --- a/man/systemd-detect-virt.xml +++ b/man/systemd-detect-virt.xml @@ -139,7 +139,7 @@ - container + Container openvz OpenVZ/Virtuozzo @@ -196,6 +196,18 @@ hardware virtualization). + + + + + Detect whether invoked in a + chroot2 + environment. In this mode no output is written, but the return + value indicates whether the process was invoked in a + chroot() + environment or not. + + @@ -221,7 +233,8 @@ See Also systemd1, - systemd-nspawn1 + systemd-nspawn1, + chroot2 -- cgit v1.2.3-54-g00ecf