From 957eb8cab28dc83aa4b800d033031e53cd0a9e00 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 11 May 2012 17:35:46 +0200 Subject: systemctl: add switch-root verb --- man/systemctl.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'man') 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 @@ 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. + -- cgit v1.2.3-54-g00ecf