[hackers] [ubase] Add switch_root manpage || FRIGN

From: <git_AT_suckless.org>
Date: Mon, 14 Apr 2014 15:36:44 +0200

commit 6e3023fc27f153e9cb1adb31049feb09f5ec4baa
Author: FRIGN <dev_AT_frign.de>
Date: Mon Apr 14 15:26:11 2014 +0200

    Add switch_root manpage

diff --git a/switch_root.8 b/switch_root.8
new file mode 100644
index 0000000..739f667
--- /dev/null
+++ b/switch_root.8
_AT_@ -0,0 +1,15 @@
+ Bswitch_root R - Switch to another filesystem as the root of the mount tree
+ Bswitch_root R [ B-c Iconsole R] Inewroot init
+ Bswitch_root R removes all files and directories on the current root filesystem and overmounts it with Inewroot R.
+If a Iconsole R is specified, redirect stdio and stderr to it.
+After the switch, execute Iinit R.
+ Bswitch_root R can only be run as PID 1 in an initramfs or tmpfs with a regular and executable /init.
+ B-c R
+Redirect stdio and stderr to Iconsole R after switching to Inewroot R.
Received on Mon Apr 14 2014 - 15:36:44 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 14 2014 - 15:48:28 CEST