Changeset 7ebcd28


Ignore:
Timestamp:
03/21/2022 08:04:04 PM (2 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
53b26d6
Parents:
d54813b
Message:

Clarify SysV run levels.
Update the meaning of run level 2.

Add some clarifying remarks about run levels 0 and 6 (halt and reboot).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter09/usage.xml

    rd54813b r7ebcd28  
    3636<literallayout>0: halt the computer
    37371: single-user mode
    38 2: multi-user mode without networking
     382: reserved for customization, otherwise does the same as 3
    39393: multi-user mode with networking
    40404: reserved for customization, otherwise does the same as 3
    41415: same as 4, it is usually used for GUI login (like X's <command>xdm</command> or KDE's <command>kdm</command>)
    42426: reboot the computer</literallayout>
     43
     44    <note>
     45       <para>
     46          Classically, run level 2 above was defined as
     47          "multi-user mode without networking", but this was only the case
     48          many years ago when multiple users could log into a system connected via
     49          serial ports.  In today's environment it makes no sense and
     50          we designate it now as "reserved".
     51       </para>
     52    </note>
    4353
    4454  </sect2>
     
    128138  class="directory">/etc/rc.d</filename> that look like <filename
    129139  class="directory">rc?.d</filename> (where ? is the number of the run-level) and
    130   <filename class="directory">rcsysinit.d</filename>, all containing a number of
     140  <filename class="directory">rcS.d</filename>, all containing a number of
    131141  symbolic links. Some begin with a <emphasis>K</emphasis>, the others begin with
    132142  an <emphasis>S</emphasis>, and all of them have two numbers following the
     
    156166  <parameter>stop</parameter> to stop something. The logic behind this
    157167  is that when a user is going to reboot or halt the system, nothing
    158   needs to be started.  The system only needs to be stopped.</para>
     168  needs to be started, but the order of shutdown needs to be controlled.
     169  For these run levels, all <emphasis>K</emphasis> prefixed scripts will be
     170  run before any <emphasis>S</emphasis> prefixed scripts are run with the
     171  <parameter>stop</parameter> parameter.
     172  </para>
    159173
    160174  <para>These are descriptions of what the arguments make the scripts
Note: See TracChangeset for help on using the changeset viewer.