diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2022-06-28 20:54:28 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2022-06-28 20:54:28 +0000 |
commit | ef34881158cd05335f7a3dd9de506d31e45c59e8 (patch) | |
tree | b67616cbd2225b3fffb9bee458c1b4888eeb2d38 /doc | |
parent | 1f918a696d642a4e995df648400a6bda282357fb (diff) | |
download | s6-ef34881158cd05335f7a3dd9de506d31e45c59e8.tar.gz s6-ef34881158cd05335f7a3dd9de506d31e45c59e8.tar.xz s6-ef34881158cd05335f7a3dd9de506d31e45c59e8.zip |
Doc obfuscation: does init have 3 or 4 stages?
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/s6-svscan-1.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/s6-svscan-1.html b/doc/s6-svscan-1.html index c168c4d..c947637 100644 --- a/doc/s6-svscan-1.html +++ b/doc/s6-svscan-1.html @@ -38,7 +38,13 @@ bit of understanding of what is going on. </a> <p> - The life of a Unix machine has four stages: +<small> Okay, it's actually four, but the fourth stage is an implementation +detail that users don't care about, so we'll stick with three. </small> +</p> + +<p> + The life of a Unix machine has three stages. + <small>Yes, three.</small> </p> <ol> @@ -69,6 +75,11 @@ powers it off is called. </li> </ol> <p> +<small> Unless you're implementing a shutdown procedure over a supervision +tree, you can absolutely consider that the hardware shutdown is part of stage 3. </small> +</p> + +<p> As you can see, process 1's duties are <em>radically different</em> from one stage to the next, and init has the most work when the machine is booting or shutting down, which means a normally negligible fraction |