From 91ea846a6f05e9a57b2b3bc3b56a94e0026c5618 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 4 May 2019 19:57:36 +0000 Subject: Add -n and -N options to s6-l-i and s6-l-i-m --- doc/s6-linux-init.html | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'doc/s6-linux-init.html') diff --git a/doc/s6-linux-init.html b/doc/s6-linux-init.html index 31014d6..f57adae 100644 --- a/doc/s6-linux-init.html +++ b/doc/s6-linux-init.html @@ -27,7 +27,7 @@ and execs into s6-svscan.

Interface

-     s6-linux-init [ -c basedir ] [ -p initial_path ] [ -s env_store ] [ -m umask ] [ -d dev_style ] [ -D initdefault ] [ args... ]
+     s6-linux-init [ -c basedir ] [ -p initial_path ] [ -s env_store ] [ -m umask ] [ -d dev_style ] [ -D initdefault ] [ -n | -N ] [ args... ]
 

Early preparation

@@ -79,12 +81,13 @@ operations:
  • It chdirs to /.
  • It sets the umask to initial_umask.
  • It becomes a session leader.
  • -
  • It mounts a devtmpfs on /dev, if necessary.
  • +
  • It mounts a devtmpfs on slashdev, if requested.
  • It uses /dev/null as its stdin (instead of /dev/console). /dev/console is still used, for now, as stdout and stderr.
  • It unmounts /run (or the directory you have given to the ---tmpfsdir configure option at package build time), just in case.
  • -
  • It creates a tmpfs on /run (or your chosen tmpfsdir).
  • +--tmpfsdir configure option at package build time), just in case; +then it creates a tmpfs on it. Alternatively, it remounts /run, +or does not touch it at all.
  • It copies the whole basedir/run-image hierarchy to /run (or your chosen tmpfsdir).
  • It reads the initial environment from basedir/env.
  • -- cgit v1.2.3