X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemctl.xml;h=b5ae48cb44021946d7afdaaf3cce1aaa248e9d30;hb=401cc72da8e59a1e49acafee69280f7ebaa52e74;hp=9e113eb0fe34714bad9de761b1d760387925dc43;hpb=6edd7d0a09171ea5ae8e01b7b1cbcb0bdfbfeb16;p=elogind.git diff --git a/man/systemctl.xml b/man/systemctl.xml index 9e113eb0f..b5ae48cb4 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -343,7 +343,7 @@ When used with - enable, override any + enable, overwrite any existing conflicting symlinks. @@ -1159,6 +1159,33 @@ Hibernate the system. + + switch-root [ROOT] [INIT] + + 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. +