diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/systemctl.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml index 9e113eb0fe..29481e7182 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -1159,6 +1159,33 @@ <listitem><para>Hibernate the system.</para></listitem> </varlistentry> + <varlistentry> + <term><command>switch-root [ROOT] [INIT]</command></term> + + <listitem><para>Switches to a + different root directory and executes + a new system manager process below + it. This is intended for usage in + initial RAM disks ("initrd"), and will + transition from the initrd's system + manager process (a.k.a "init" process) + to the main system manager + process. Takes two arguments: the + directory to make the new root + directory, and the path to the new + system manager binary below it to + execute as PID 1. If the latter is + ommitted or the empty string, a + systemd binary will automatically be + searched for and used as init. If the + system manager path is ommitted or + equal the empty string the state of + the initrd's system manager process is + passed to the main system manager, + which allows later introspection of the + state of the services involved in the + initrd boot.</para></listitem> + </varlistentry> </variablelist> </refsect1> |