Ignore:
Timestamp:
03/22/2022 01:36:44 PM (2 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
arm
Children:
a55a9d22
Parents:
fdd0273
git-author:
Bruce Dubbs <bdubbs@…> (03/21/2022 08:04:04 PM)
git-committer:
William Harrington <kb0iic@…> (03/22/2022 01:36:44 PM)
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

    rfdd0273 r103ded2  
    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.