diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-04-27 23:27:39 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-04-27 23:27:39 +0000 |
commit | 6f13cd197540af0bf5e87f87ab0e03548d9c5f64 (patch) | |
tree | 5ce691b38fe2a9d0033931a1e39e568c142966d1 /doc/s6-linux-init.html | |
parent | 31dcbd86ed7e34b4d8ea272ceb9c0a4cfac54c56 (diff) | |
download | s6-linux-init-6f13cd197540af0bf5e87f87ab0e03548d9c5f64.tar.xz |
Doc fixes
Diffstat (limited to 'doc/s6-linux-init.html')
-rw-r--r-- | doc/s6-linux-init.html | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/doc/s6-linux-init.html b/doc/s6-linux-init.html index e8ab361..31014d6 100644 --- a/doc/s6-linux-init.html +++ b/doc/s6-linux-init.html @@ -52,12 +52,11 @@ If there is a discrepancy, the system might not boot. <li> <tt>-c</tt> <em>basedir</em> : read all its initialization data from <em>basedir</em>. If the data has not indeed been copied to <em>basedir</em>, <strong>the system will not boot</strong>. </li> - <li> <tt>-p</tt> <em>initial_path</em> : the value to -set the initial PATH environment variable to. + <li> <tt>-p</tt> <em>initial_path</em> : the initial value for +the PATH environment variable. </li> <li> <tt>-s</tt> <em>env_store</em> : the place where to dump kernel environment variables. </li> - <li> <tt>-m</tt> <em>initial_umask</em> : the value of -the initial file umask. </li> + <li> <tt>-m</tt> <em>initial_umask</em> : the initial file umask. </li> <li> <tt>-d</tt> <em>dev_style</em> : how <tt>/dev</tt> is handled on this system. 0 means a static <tt>/dev</tt>, 1 means devtmpfs but not automounted by the kernel at boot time, and 2 means @@ -130,8 +129,16 @@ the arguments given to <em>rc.init</em>. </li> as pid 1 and has spawned its early services - at least the catch-all logger, and the other services, including the early getty if it has been defined, are started in parallel and will be ready instantly. <em>rc.init</em> can then -perform <em>stage 2</em> of the initialization process, i.e. the initialization -sequence per se. +perform <em>stage 2</em> of the initialization process, i.e. the handoff to +the service manager. +</p> + +<h2> Exit codes </h2> + +<p> + <tt>s6-linux-init</tt> never exits. It spawns the <em>rc.init</em> script +and execs into <a href="//skarnet.org/software/s6/s6-svscan.html">s6-svscan</a>, +which runs forever until the machine stops or reboots. </p> <h2> Notes </h2> |