Ignore:
Timestamp:
May 14, 2014, 1:21:04 AM (11 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-sysvinit, sysvinit
Children:
056e32f4
Parents:
db71344
Message:

Created sysvinit branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/sysvinit.xml

    rdb71344 r82fc053  
    117117  </sect2>
    118118
    119   <sect2 id="contents-sysvinit" role="content">
    120     <title>Contents of Sysvinit</title>
     119  <sect2 role="content">
     120    <title/>
    121121
    122     <segmentedlist>
    123       <segtitle>Installed programs</segtitle>
    124 
    125       <seglistitem>
    126         <seg>bootlogd, fstab-decode, halt, init, killall5,
    127         poweroff (link to halt), reboot (link to halt), runlevel,
    128         shutdown, and telinit (link to init)</seg>
    129       </seglistitem>
    130     </segmentedlist>
    131 
    132     <variablelist>
    133       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    134       <?dbfo list-presentation="list"?>
    135       <?dbhtml list-presentation="table"?>
    136 
    137       <varlistentry id="bootlogd">
    138         <term><command>bootlogd</command></term>
    139         <listitem>
    140           <para>Logs boot messages to a log file</para>
    141           <indexterm zone="ch-boot-sysvinit bootlogd">
    142             <primary sortas="b-bootlogd">bootlogd</primary>
    143           </indexterm>
    144         </listitem>
    145       </varlistentry>
    146 
    147       <varlistentry id="fstab-decode">
    148         <term><command>fstab-decode</command></term>
    149         <listitem>
    150           <para>Runs a command with fstab-encoded arguments</para>
    151           <indexterm zone="ch-boot-sysvinit fstab-decode">
    152             <primary sortas="b-fstab-decode">fstab-decode</primary>
    153           </indexterm>
    154         </listitem>
    155       </varlistentry>
    156 
    157       <varlistentry id="halt">
    158         <term><command>halt</command></term>
    159         <listitem>
    160           <para>Normally invokes <command>shutdown</command> with the
    161           <parameter>-h</parameter> option, except when already in run-level 0,
    162           then it tells the kernel to halt the system; it notes in the
    163           file <filename>/var/log/wtmp</filename> that the system is being
    164           brought down</para>
    165           <indexterm zone="ch-boot-sysvinit halt">
    166             <primary sortas="b-halt">halt</primary>
    167           </indexterm>
    168         </listitem>
    169       </varlistentry>
    170 
    171       <varlistentry id="init">
    172         <term><command>init</command></term>
    173         <listitem>
    174           <para>The first process to be started when the kernel has initialized
    175           the hardware which takes over the boot process and starts all the
    176           proceses it is instructed to</para>
    177           <indexterm zone="ch-boot-sysvinit init">
    178             <primary sortas="b-init">init</primary>
    179           </indexterm>
    180         </listitem>
    181       </varlistentry>
    182 
    183       <varlistentry id="killall5">
    184         <term><command>killall5</command></term>
    185         <listitem>
    186           <para>Sends a signal to all processes, except the processes in its own
    187           session so it will not kill the shell running the script that called
    188           it</para>
    189           <indexterm zone="ch-boot-sysvinit killall5">
    190             <primary sortas="b-killall5">killall5</primary>
    191           </indexterm>
    192         </listitem>
    193       </varlistentry>
    194 
    195       <varlistentry id="poweroff">
    196         <term><command>poweroff</command></term>
    197         <listitem>
    198           <para>Tells the kernel to halt the system and switch off the computer
    199           (see <command>halt</command>)</para>
    200           <indexterm zone="ch-boot-sysvinit poweroff">
    201             <primary sortas="b-poweroff">poweroff</primary>
    202           </indexterm>
    203         </listitem>
    204       </varlistentry>
    205 
    206       <varlistentry id="reboot">
    207         <term><command>reboot</command></term>
    208         <listitem>
    209           <para>Tells the kernel to reboot the system (see
    210           <command>halt</command>)</para>
    211           <indexterm zone="ch-boot-sysvinit reboot">
    212             <primary sortas="b-reboot">reboot</primary>
    213           </indexterm>
    214         </listitem>
    215       </varlistentry>
    216 
    217       <varlistentry id="runlevel">
    218         <term><command>runlevel</command></term>
    219         <listitem>
    220           <para>Reports the previous and the current run-level, as noted in
    221           the last run-level record in <filename>/var/run/utmp</filename></para>
    222           <indexterm zone="ch-boot-sysvinit runlevel">
    223             <primary sortas="b-runlevel">runlevel</primary>
    224           </indexterm>
    225         </listitem>
    226       </varlistentry>
    227 
    228       <varlistentry id="shutdown">
    229         <term><command>shutdown</command></term>
    230         <listitem>
    231           <para>Brings the system down in a secure way, signaling all processes
    232           and notifying all logged-in users</para>
    233           <indexterm zone="ch-boot-sysvinit shutdown">
    234             <primary sortas="b-shutdown">shutdown</primary>
    235           </indexterm>
    236         </listitem>
    237       </varlistentry>
    238 
    239       <varlistentry id="telinit">
    240         <term><command>telinit</command></term>
    241         <listitem>
    242           <para>Tells <command>init</command> which run-level to change to</para>
    243           <indexterm zone="ch-boot-sysvinit telinit">
    244             <primary sortas="b-telinit">telinit</primary>
    245           </indexterm>
    246         </listitem>
    247       </varlistentry>
    248 
    249     </variablelist>
     122    <para>Details on this package are located in <xref
     123    linkend="contents-sysvinit" role="."/></para>
    250124
    251125  </sect2>
Note: See TracChangeset for help on using the changeset viewer.