summaryrefslogtreecommitdiff
path: root/doc/s6-linux-init-maker.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-11-28 06:56:46 +0000
committerLaurent Bercot <ska@appnovation.com>2021-11-28 06:56:46 +0000
commitbc22cd5c688a01adccd2fb007991b9f00d727a26 (patch)
tree503dccef5b5a1b613be4dcf1537d100de77bd1b7 /doc/s6-linux-init-maker.html
parentf5acc16fa69ba10d4e6cf5a4d0a4a080828cb0ab (diff)
downloads6-linux-init-bc22cd5c688a01adccd2fb007991b9f00d727a26.tar.xz
Add -S option to s6-l-i-m for container sync-on-halt
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/s6-linux-init-maker.html')
-rw-r--r--doc/s6-linux-init-maker.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/s6-linux-init-maker.html b/doc/s6-linux-init-maker.html
index 9b148de..1c42767 100644
--- a/doc/s6-linux-init-maker.html
+++ b/doc/s6-linux-init-maker.html
@@ -64,6 +64,7 @@ machine</em>. If it is not the case, the system will fail to boot.
[ -U <em>utmp_user</em> ] \
[ -C ] \
[ -B ] \
+ [ -S ] \
<em>dir</em>
</pre>
@@ -386,6 +387,12 @@ discouraged. On a containerized system (when paired with the <tt>-C</tt>
option), it simply means that these outputs go to the default stdout and
stderr given to the container's <tt>init</tt> - this should generally
not be the default, but might be useful in some cases. </li>
+
+ <li> <tt>-S</tt>&nbsp;: when used with the <tt>-C</tt> option, set up
+the container so the disks are <tt>sync</tt>ed on container halt. By
+default, no sync is performed. This option has no effect when the <tt>-C</tt>
+option is not present: on real machines, a <tt>sync</tt> is <em>always</em>
+performed just before a system halt. </li>
</ul>
<h2> Organization of the created directory </h2>