Changeset 82fc053 for BOOK/boot/common


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

Location:
BOOK/boot/common
Files:
1 added
1 deleted
3 edited

Legend:

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

    rdb71344 r82fc053  
    5555 </sect2>
    5656
    57   <sect2 id="contents-eudev" role="content">
    58     <title>Contents of Eudev</title>
     57  <sect2 role="content">
     58    <title/>
    5959
    60     <segmentedlist>
    61       <segtitle>Installed programs</segtitle>
    62       <segtitle>Installed library</segtitle>
    63       <segtitle>Installed directories</segtitle>
    64 
    65       <seglistitem>
    66         <seg>ata_id, cdrom_id, collect, create_floppy_devices, edd_id,
    67         firmware.sh, fstab_import, path_id, scsi_id, udevadm, udevd, usb_id,
    68         v4l_id, write_cd_rules, write_net_rules</seg>
    69         <seg>libudev</seg>
    70         <seg>/tools/etc/udev, /tools/lib/firmware, /tools/lib/udev</seg>
    71       </seglistitem>
    72     </segmentedlist>
    73 
    74     <variablelist>
    75       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    76       <?dbfo list-presentation="list"?>
    77       <?dbhtml list-presentation="table"?>
    78 
    79       <varlistentry id="udevadm">
    80         <term><command>udevadm</command></term>
    81         <listitem>
    82         <para>Controls the runtime behavior of Eudev, requests kernel
    83         events, manages the event queue, and provides simple debugging.</para>
    84           <indexterm zone="ch-boot-eudev udevadm">
    85             <primary sortas="b-udevadm">udevadm</primary>
    86           </indexterm>
    87         </listitem>
    88       </varlistentry>
    89 
    90       <varlistentry id="udevd">
    91         <term><command>udevd</command></term>
    92         <listitem>
    93           <para>A daemon that reorders hotplug events before submitting them to
    94           <command>udev</command>,
    95           thus avoiding various race conditions</para>
    96           <indexterm zone="ch-boot-eudev udevd">
    97             <primary sortas="b-udevd">udevd</primary>
    98           </indexterm>
    99         </listitem>
    100       </varlistentry>
    101 
    102  <!-- Start of Helpers -->
    103       <varlistentry id="ata_id">
    104         <term><command>ata_id</command></term>
    105         <listitem>
    106           <para>Provides Eudev with a unique string and additional
    107           information (uuid, label) for an ATA drive</para>
    108           <indexterm zone="ch-boot-eudev ata_id">
    109             <primary sortas="b-ata_id">ata_id</primary>
    110           </indexterm>
    111         </listitem>
    112       </varlistentry>
    113 
    114       <varlistentry id="cdrom_id">
    115         <term><command>cdrom_id</command></term>
    116         <listitem>
    117           <para>Prints the capabilities of a CDROM or DVDROM drive.</para>
    118           <indexterm zone="ch-boot-eudev cdrom_id">
    119             <primary sortas="b-cdrom_id">cdrom_id</primary>
    120           </indexterm>
    121         </listitem>
    122       </varlistentry>
    123 
    124       <varlistentry id="collect">
    125         <term><command>collect</command></term>
    126         <listitem>
    127           <para>Given an ID for the current uevent and a list of IDs
    128 (for all target uevents), registers the current ID and indicates whether
    129 all target IDs have been registered.</para>
    130           <indexterm zone="ch-boot-eudev collect">
    131             <primary sortas="b-collect">collect</primary>
    132           </indexterm>
    133         </listitem>
    134       </varlistentry>
    135 
    136       <varlistentry id="create_floppy_devices">
    137         <term><command>create_floppy_devices</command></term>
    138         <listitem>
    139           <para>Creates all possible floppy devices based on the CMOS type</para>
    140           <indexterm zone="ch-boot-eudev create_floppy_devices">
    141             <primary sortas="b-create_floppy_devices">create_floppy_devices</primary>
    142           </indexterm>
    143         </listitem>
    144       </varlistentry>
    145 
    146       <varlistentry id="edd_id">
    147         <term><command>edd_id</command></term>
    148         <listitem>
    149           <para>Identifies x86 disk drives from Enhanced Disk Drive calls</para>
    150           <indexterm zone="ch-boot-eudev edd_id">
    151             <primary sortas="b-edd_id">edd_id</primary>
    152           </indexterm>
    153         </listitem>
    154       </varlistentry>
    155 
    156       <varlistentry id="firmware.sh">
    157         <term><command>firmware.sh</command></term>
    158         <listitem>
    159           <para>Script to load firmware for a device</para>
    160           <indexterm zone="ch-boot-eudev firmware.sh">
    161             <primary sortas="b-firmware.sh">firmware.sh</primary>
    162           </indexterm>
    163         </listitem>
    164       </varlistentry>
    165 
    166       <varlistentry id="fstab_import">
    167         <term><command>fstab_import</command></term>
    168         <listitem>
    169           <para>Finds an entry in <filename>/etc/fstab</filename> that matches
    170 the current device, and provides its information to Udev.</para>
    171           <indexterm zone="ch-boot-eudev fstab_import">
    172             <primary sortas="b-fstab_import">fstab_import</primary>
    173           </indexterm>
    174         </listitem>
    175       </varlistentry>
    176 
    177       <varlistentry id="path_id">
    178         <term><command>path_id</command></term>
    179         <listitem>
    180           <para>Provides the shortest possible unique hardware path to a
    181           device</para>
    182           <indexterm zone="ch-boot-eudev path_id">
    183             <primary sortas="b-path_id">path_id</primary>
    184           </indexterm>
    185         </listitem>
    186       </varlistentry>
    187 
    188       <varlistentry id="scsi_id">
    189         <term><command>scsi_id</command></term>
    190         <listitem>
    191           <para>Retrieves or generates a unique SCSI identifier.</para>
    192           <indexterm zone="ch-boot-eudev scsi_id">
    193             <primary sortas="b-scsi_id">scsi_id</primary>
    194           </indexterm>
    195         </listitem>
    196       </varlistentry>
    197 
    198       <varlistentry id="usb_id">
    199         <term><command>usb_id</command></term>
    200         <listitem>
    201           <para>Identifies a USB block device.</para>
    202           <indexterm zone="ch-boot-eudev usb_id">
    203             <primary sortas="b-usb_id">usb_id</primary>
    204           </indexterm>
    205         </listitem>
    206       </varlistentry>
    207 
    208       <varlistentry id="v4l_id">
    209         <term><command>v4l_id</command></term>
    210         <listitem>
    211           <para>Determines V4L capabilities for a given device.</para>
    212           <indexterm zone="ch-boot-eudev v4l_id">
    213             <primary sortas="b-v4l_id">v4l_id</primary>
    214           </indexterm>
    215         </listitem>
    216       </varlistentry>
    217 
    218       <varlistentry id="write_cd_rules">
    219         <term><command>write_cd_rules</command></term>
    220         <listitem>
    221           <para>A script which generates Eudev rules to provide stable names
    222 for network interfaces.</para>
    223           <indexterm zone="ch-boot-eudev write_cd_rules">
    224             <primary sortas="b-write_cd_rules">write_cd_rules</primary>
    225           </indexterm>
    226         </listitem>
    227       </varlistentry>
    228 
    229       <varlistentry id="write_net_rules">
    230         <term><command>write_net_rules</command></term>
    231         <listitem>
    232           <para>A script which generates Eudev rules to provide stable names
    233 for network interfaces.</para>
    234           <indexterm zone="ch-boot-eudev write_net_rules">
    235             <primary sortas="b-write_net_rules">write_net_rules</primary>
    236           </indexterm>
    237         </listitem>
    238       </varlistentry>
    239 <!-- End of Helpers -->
    240 
    241       <varlistentry id="libudev">
    242         <term><filename class="libraryfile">libudev</filename></term>
    243         <listitem>
    244           <para>A library interface to eudev device information.</para>
    245           <indexterm zone="ch-boot-eudev libudev">
    246             <primary sortas="c-libudev">libudev</primary>
    247           </indexterm>
    248         </listitem>
    249       </varlistentry>
    250 
    251       <varlistentry id="etc-eudev">
    252         <term><filename class="directory">/etc/udev</filename></term>
    253         <listitem>
    254           <para>Contains <command>udev</command> configuration files,
    255           device permissions, and rules for device naming</para>
    256           <indexterm zone="ch-boot-eudev etc-eudev">
    257             <primary sortas="e-/etc/udev">/etc/udev</primary>
    258           </indexterm>
    259         </listitem>
    260       </varlistentry>
    261 
    262       <varlistentry id="lib-eudev">
    263         <term><filename class="directory">/lib/udev</filename></term>
    264         <listitem>
    265           <para>Contains <command>udev</command> helper programs
    266           and static devices which get copied to /dev when booted.</para>
    267           <indexterm zone="ch-boot-eudev lib-eudev">
    268             <primary sortas="e-/lib/udev">/lib/udev</primary>
    269           </indexterm>
    270         </listitem>
    271       </varlistentry>
    272     </variablelist>
     60    <para>Details on this package are located in <xref
     61    linkend="contents-eudev" role="."/></para>
    27362
    27463  </sect2>
  • BOOK/boot/common/pwdgroup.xml

    rdb71344 r82fc053  
    3333<literal>bin:x:&uid-bin;:&gid-bin;:/bin:/bin/false</literal>
    3434<literal>daemon:x:&uid-daemon;:&gid-daemon;:/sbin:/bin/false</literal>
    35 <literal>messagebus:x:&uid-messagebus;:&gid-messagebus;:D-Bus Message Daemon User:/dev/null:/bin/false</literal>
    3635<literal>nobody:x:&uid-nobody;:&gid-nogroup;:Unprivileged User:/dev/null:/bin/false</literal>
    3736EOF</userinput></screen>
     
    6160      <listitem>
    6261        <para>Often used by email programs</para>
     62      </listitem>
     63    </varlistentry>
     64    <varlistentry>
     65      <term><literal>messagebus:x:&uid-messagebus;:&gid-messagebus;:D-Bus Message Daemon User:/dev/null:/bin/false</literal></term>
     66      <listitem>
     67        <para>User for D-Bus</para>
    6368      </listitem>
    6469    </varlistentry>
     
    104109cdrom:x:&gid-cdrom;:
    105110adm:x:&gid-adm;:
    106 messagebus:x:&gid-messagebus;:
    107 systemd-journal:x:&gid-systemd-journal;:
    108111mail:x:&gid-mail;:
    109112wheel:x:&gid-wheel;:
     
    125128      <listitem>
    126129        <para>This group is allowed to use the CDRW drive</para>
     130      </listitem>
     131    </varlistentry>
     132    <varlistentry>
     133      <term><literal>messagebus:x:&gid-messagebus;:</literal></term>
     134      <listitem>
     135        <para>User for D-Bus</para>
    127136      </listitem>
    128137    </varlistentry>
  • 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.