From ff781adeb26caca82a717d7f1dd83c4ad94b5165 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 17 Jun 2015 18:33:06 +0000 Subject: Fix some bugs, add some doc --- doc/s6-linux-init-maker.html | 63 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 55 insertions(+), 8 deletions(-) (limited to 'doc/s6-linux-init-maker.html') diff --git a/doc/s6-linux-init-maker.html b/doc/s6-linux-init-maker.html index cdf617e..530cd41 100644 --- a/doc/s6-linux-init-maker.html +++ b/doc/s6-linux-init-maker.html @@ -49,6 +49,7 @@ machine - else the scripts will crash. [ -u log_user ] \ [ -g early_getty ] \ [ -2 stage2 ] \ + [ -r ] \ [ -3 stage3 ] \ [ -p initial_path ] \ [ -m initial_umask ] \ @@ -74,7 +75,7 @@ declared as basedir. Be careful: it contains fifos, files with precise uid/gid permissions, and files with non-standard access rights, so be sure to copy it verbatim. The s6-hiercopy -tool can do it, as well as the GNU or busybox cp -a command. +tool can do it, as well as the GNU or busybox cp -a or mv commands.

@@ -133,11 +134,10 @@ system. When stage2 is executed, the machine state is as follows:

+

Notes

+ +

+ The difficult parts of +running +s6-svscan as process 1 are: +

+ + + +

+ The main benefit of s6-linux-init-maker is that it automates those +parts. This means that it has been designed for real hardware +where the above issues apply. + If you are building an init system for a +virtual machine, a container, or anything similar that does not +have the /dev/console issue or the read-only rootfs issue, +you will probably not reap much benefit from using s6-linux-init-maker: +you could probably invoke +s6-svscan +directly as your process 1, or build a script by hand, which +would result in a simpler init with less dependencies. +

+ -- cgit v1.2.3