diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-05-11 17:35:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-14 22:41:30 +0200 |
commit | 957eb8cab28dc83aa4b800d033031e53cd0a9e00 (patch) | |
tree | fbf5b42eabbb3e7416ac48232aa50acd027c5f27 /man/systemctl.xml | |
parent | 50913bc0c8ced894ceabc7e893c0fdf73af9a261 (diff) |
systemctl: add switch-root verb
Diffstat (limited to 'man/systemctl.xml')
-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> |