<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="ch-scripts-udev-rules" role="wrap">
  <?dbhtml filename="udev-rules.html"?>

  <title>Udev Rules-&udev-cross-lfs-version;</title>

  <indexterm zone="ch-scripts-udev-rules">
    <primary sortas="a-Udev Rules">Udev Rules</primary>
  </indexterm>

  <sect2 role="package">
    <title/>

    <para>The Udev Cross-LFS rules package contains the necessary
    rules set for a basic functional system.</para>

  </sect2>

  <sect2 role="installation">
    <title>Installation of Udev-Rules</title>

    <para os="a">Install the package:</para>

<screen os="b"><userinput>make install</userinput></screen>

  </sect2>

  <sect2 id="contents-udev-rules" role="content">
    <title>Contents of Udev Rules</title>

    <segmentedlist>
      <segtitle>Installed Rules</segtitle>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Bootscripts</segtitle>

      <seglistitem>
        <seg>05-udev-early.rules, 35-helper.rules, 40-modprobe.rules,
        50-udev.rules, 55-sound.rules, 60-persistent-disk.rules,
        61-persistent-input.rules, 90-user.rules, 95-debug.rules,
        load_floppy_module.sh, show_event_log, udev, and udev_retry</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="z05-udev-early.rules-udev-rules">
        <term><command>05-udev-early.rules</command></term>
        <listitem>
          <para>Rules that are run early in the boot process. These rules check
          for the ability to do hotplug events connect to the network, and
          make sure that sysfs is ready before running any other rules.</para>
          <indexterm zone="ch-scripts-udev-rules z05-udev-early.rules-udev-rules">
            <primary sortas="d-05-udev-early.rules">05-udev-early.rules</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="z35-helper.rules-udev-rules">
        <term><command>35-helper.rules</command></term>
        <listitem>
          <para>Rules that use helper programs.</para>
          <indexterm zone="ch-scripts-udev-rules z35-helper.rules-udev-rules">
            <primary sortas="d-35-helper.rules">35-helper.rules</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="z40-modprobe.rules">
        <term><command>40-modprobe.rules</command></term>
        <listitem>
          <para>Rules that use modprobe to load kernel modules.</para>
          <indexterm zone="ch-scripts-udev-rules z40-modprobe.rules">
            <primary sortas="d-40-modprobe.rules">40-modprobe.rules</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="z50-udev.rules">
        <term><command>50-udev.rules</command></term>
        <listitem>
          <para>Creates basic system devices and permissions.</para>
          <indexterm zone="ch-scripts-udev-rules z50-udev.rules">
            <primary sortas="d-50-udev.rules">50-udev.rules</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="z55-sound.rules">
        <term><command>55-sound.rules</command></term>
        <listitem>
          <para>Gives proper permissions to audio device and restores sound
          volumes.</para>
          <indexterm zone="ch-scripts-udev-rules z55-sound.rules">
            <primary sortas="d-55-sound.rules">55-sound.rules</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="z60-persistent-disk.rules">
        <term><command>60-persistent-disk.rules</command></term>
        <listitem>
          <para>Allows persistent naming of disk drives.</para>
          <indexterm zone="ch-scripts-udev-rules z60-persistent-disk.rules">
            <primary sortas="d-60-persistent-disk.rules">60-persistent-disk.rules</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="z61-persistent-input.rules">
        <term><command>61-persistent-input.rules</command></term>
        <listitem>
          <para>Allows persistent naming of input devices.</para>
          <indexterm zone="ch-scripts-udev-rules z61-persistent-input.rules">
            <primary sortas="d-61-persistent-input.rules">61-persistent-input.rules</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="z90-user.rules">
        <term><command>90-user.rules</command></term>
        <listitem>
          <para>Rules defined by the user.</para>
          <indexterm zone="ch-scripts-udev-rules z90-user.rules">
            <primary sortas="d-90-user.rules">90-user.rules</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="z95-debug.rules">
        <term><command>95-debug.rules</command></term>
        <listitem>
          <para>Rules for debugging udev.</para>
          <indexterm zone="ch-scripts-udev-rules z95-debug.rules">
            <primary sortas="d-95-debug.rules">95-debug.rules</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="load_floppy_module.sh">
        <term><command>load_floppy_module.sh</command></term>
        <listitem>
          <para>Checks to see if a floppy drive exists before loading
          the floppy drive module into memory.</para>
          <indexterm zone="ch-scripts-udev-rules load_floppy_module.sh">
            <primary sortas="d-load_floppy_module.sh">load_floppy_module.sh</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="show_event_log">
        <term><command>show_event_log</command></term>
        <listitem>
          <para>Displays Udev log messages from /var/log/messages.</para>
          <indexterm zone="ch-scripts-udev-rules show_event_log">
            <primary sortas="d-show_event_log">show_event_log</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="udev">
        <term><command>udev</command></term>
        <listitem>
          <para>To be Written.</para>
          <indexterm zone="ch-scripts-udev-rules udev">
            <primary sortas="d-udev">udev</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
