source: BOOK/final-system/common/udev.xml @ 1da2a84

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 1da2a84 was 1da2a84, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Checked and Updated Download Locations.
Updated Tree to 1.5.2.1.
Updated Util-Linux-NG to 2.14.1.
Updated TCL to 8.5.4.
Updated E2fsprogs to 1.41.1.
Updated M4 to 1.4.11.
Updated Kbd to 1.14.
Updated Bzip2 to 1.0.5.
Updated Autoconf to 2.63.
Updated Findutils to 4.4.0.
Updated Man-Pages to 3.09.
Updated Man to 1.6f.
Updated Shadow to 4.1.2.1.
Updated IPRoute2 to 2.6.26.
Updated Libtool to 2.2.6a.
Updated Module-Init-Tools to 3.4.1.
Updated Texinfo to 4.12.
Updated Vim to 7.2.
Updated MPFR to 2.3.2.
Updated Udev to 128.
Updated Linux to 2.6.26.5.
Applied fixes to Expect to make it compatible with TCL 8.5.
Add -Duseshrplib to the perl configure command. This causes perl to build a shared libperl.
Formatting fixes on multiple pages.
Use a Common inittab across all architectures.
Updated Bootscripts to 1.2-pre1.

  • Property mode set to 100644
File size: 9.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-system-udev" role="wrap">
9  <?dbhtml filename="udev.html"?>
10
11  <title>Udev-&udev-version;</title>
12
13  <indexterm zone="ch-system-udev">
14    <primary sortas="a-Udev">Udev</primary>
15  </indexterm>
16
17  <sect2 role="package">
18    <title/>
19
20    <para>The Udev package contains programs for dynamic creation of device
21    nodes.</para>
22
23  </sect2>
24
25  <sect2 role="installation">
26    <title>Installation of Udev</title>
27
28    <para os="a">Prepare Udev for compilation:</para>
29
30<screen os="b"><userinput>./configure --prefix=/usr --exec-prefix= \
31    --sysconfdir=/etc</userinput></screen>
32
33    <para os="c">Compile the package:</para>
34
35<screen os="d"><userinput>make</userinput></screen>
36
37    <para os="g">Install the package:</para>
38
39<screen os="h"><userinput>make install</userinput></screen>
40
41    <para os="i">Install documentation:</para>
42
43<screen os="j"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html \
44    /usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
45
46    <para os="k">Create a directory for storing firmware that can be
47    loaded by <command>udev</command>:</para>
48
49<screen os="l"><userinput>install -dv /lib/firmware</userinput></screen>
50
51  </sect2>
52
53  <sect2 id="contents-udev" role="content">
54    <title>Contents of Udev</title>
55
56    <segmentedlist>
57      <segtitle>Installed programs</segtitle>
58      <segtitle>Installed library</segtitle>
59      <segtitle>Installed directory</segtitle>
60
61      <seglistitem>
62        <seg>udevadm, udevd</seg>
63        <seg>libvolume_id, libudev</seg>
64        <seg>/etc/udev, /lib/udev</seg>
65      </seglistitem>
66    </segmentedlist>
67
68    <variablelist>
69      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
70      <?dbfo list-presentation="list"?>
71      <?dbhtml list-presentation="table"?>
72
73      <varlistentry id="udevadm">
74        <term><command>udevadm</command></term>
75        <listitem>
76        <para>udevadm controls the runtime behavior of udev, requests kernel
77        events, manages the event queue, and provides simple debugging.</para>
78          <indexterm zone="ch-system-udev udevadm">
79            <primary sortas="b-udevadm">udevadm</primary>
80          </indexterm>
81        </listitem>
82      </varlistentry>
83
84      <varlistentry id="udevd">
85        <term><command>udevd</command></term>
86        <listitem>
87          <para>A daemon that reorders hotplug events before submitting them to
88          <command>udev</command>,
89          thus avoiding various race conditions</para>
90          <indexterm zone="ch-system-udev udevd">
91            <primary sortas="b-udevd">udevd</primary>
92          </indexterm>
93        </listitem>
94      </varlistentry>
95
96 <!-- Start of Helpers -->
97      <varlistentry id="ata_id">
98        <term><command>ata_id</command></term>
99        <listitem>
100          <para>Provides Udev with a unique string and additional
101          information (uuid, label) for an ATA drive</para>
102          <indexterm zone="ch-system-udev ata_id">
103            <primary sortas="b-ata_id">ata_id</primary>
104          </indexterm>
105        </listitem>
106      </varlistentry>
107
108      <varlistentry id="cdrom_id">
109        <term><command>cdrom_id</command></term>
110        <listitem>
111          <para>Print the capabilities of a CDROM or DVDROM drive.</para>
112          <indexterm zone="ch-system-udev cdrom_id">
113            <primary sortas="b-cdrom_id">cdrom_id</primary>
114          </indexterm>
115        </listitem>
116      </varlistentry>
117
118      <varlistentry id="collect">
119        <term><command>collect</command></term>
120        <listitem>
121          <para>DESCRIPTION REQUIRED</para>
122          <indexterm zone="ch-system-udev collect">
123            <primary sortas="b-collect">collect</primary>
124          </indexterm>
125        </listitem>
126      </varlistentry>
127
128      <varlistentry id="create_floppy_devices">
129        <term><command>create_floppy_devices</command></term>
130        <listitem>
131          <para>Creates all possible floppy devices based on the CMOS type</para>
132          <indexterm zone="ch-system-udev create_floppy_devices">
133            <primary sortas="b-create_floppy_devices">create_floppy_devices</primary>
134          </indexterm>
135        </listitem>
136      </varlistentry>
137
138      <varlistentry id="edd_id">
139        <term><command>edd_id</command></term>
140        <listitem>
141          <para>Identify x86 disk drives from Enhanced Disk Drive calls.</para>
142          <indexterm zone="ch-system-udev edd_id">
143            <primary sortas="b-edd_id">edd_id</primary>
144          </indexterm>
145        </listitem>
146      </varlistentry>
147
148      <varlistentry id="firmware.sh">
149        <term><command>firmware.sh</command></term>
150        <listitem>
151          <para>Script to load firmware for a device</para>
152          <indexterm zone="ch-system-udev firmware.sh">
153            <primary sortas="b-firmware.sh">firmware.sh</primary>
154          </indexterm>
155        </listitem>
156      </varlistentry>
157
158      <varlistentry id="fstab_import">
159        <term><command>fstab_import</command></term>
160        <listitem>
161          <para>DESCRIPTION REQUIRED</para>
162          <indexterm zone="ch-system-udev fstab_import">
163            <primary sortas="b-fstab_import">fstab_import</primary>
164          </indexterm>
165        </listitem>
166      </varlistentry>
167
168      <varlistentry id="path_id">
169        <term><command>path_id</command></term>
170        <listitem>
171          <para>Provide the shortest possible unique hardware path to a
172          device</para>
173          <indexterm zone="ch-system-udev path_id">
174            <primary sortas="b-path_id">path_id</primary>
175          </indexterm>
176        </listitem>
177      </varlistentry>
178
179      <varlistentry id="scsi_id">
180        <term><command>scsi_id</command></term>
181        <listitem>
182          <para>Retrieve or generate a unique SCSI identifier.</para>
183          <indexterm zone="ch-system-udev scsi_id">
184            <primary sortas="b-scsi_id">scsi_id</primary>
185          </indexterm>
186        </listitem>
187      </varlistentry>
188
189      <varlistentry id="usb_id">
190        <term><command>usb_id</command></term>
191        <listitem>
192          <para>Identify a USB block device.</para>
193          <indexterm zone="ch-system-udev usb_id">
194            <primary sortas="b-usb_id">usb_id</primary>
195          </indexterm>
196        </listitem>
197      </varlistentry>
198
199      <varlistentry id="vol_id">
200        <term><command>vol_id</command></term>
201        <listitem>
202          <para>Probe filesystem type and read label and uuid.</para>
203          <indexterm zone="ch-system-udev vol_id">
204            <primary sortas="b-vol_id">vol_id</primary>
205          </indexterm>
206        </listitem>
207      </varlistentry>
208
209      <varlistentry id="write_cd_rules">
210        <term><command>write_cd_rules</command></term>
211        <listitem>
212          <para>DESCRIPTION REQUIRED</para>
213          <indexterm zone="ch-system-udev write_cd_rules">
214            <primary sortas="b-write_cd_rules">write_cd_rules</primary>
215          </indexterm>
216        </listitem>
217      </varlistentry>
218
219      <varlistentry id="write_net_rules">
220        <term><command>write_net_rules</command></term>
221        <listitem>
222          <para>DESCRIPTION REQUIRED</para>
223          <indexterm zone="ch-system-udev write_net_rules">
224            <primary sortas="b-write_net_rules">write_net_rules</primary>
225          </indexterm>
226        </listitem>
227      </varlistentry>
228<!-- End of Helpers -->
229
230      <varlistentry id="libvolume_id">
231        <term><filename class="libraryfile">libvolume_id</filename></term>
232        <listitem>
233          <para>This library provides programs such as <command>vol_id</command>
234          with a filesystems type, abel, and uuid from a device node or a
235          image.</para>
236          <indexterm zone="ch-system-udev libvolume_id">
237            <primary sortas="b-libvolume_id">libvolume_id</primary>
238          </indexterm>
239        </listitem>
240      </varlistentry>
241
242      <varlistentry id="libudev">
243        <term><filename class="libraryfile">libudev</filename></term>
244        <listitem>
245          <para>DESCRIPTION REQUIRED</para>
246          <indexterm zone="ch-system-udev libudev">
247            <primary sortas="b-libudev">libudev</primary>
248          </indexterm>
249        </listitem>
250      </varlistentry>
251
252      <varlistentry id="etc-udev">
253        <term><filename class="directory">/etc/udev</filename></term>
254        <listitem>
255          <para>Contains <command>udev</command> configuration files,
256          device permissions, and rules for device naming</para>
257          <indexterm zone="ch-system-udev etc-udev">
258            <primary sortas="e-/etc/udev">/etc/udev</primary>
259          </indexterm>
260        </listitem>
261      </varlistentry>
262
263      <varlistentry id="lib-udev">
264        <term><filename class="directory">/lib/udev</filename></term>
265        <listitem>
266          <para>Contains <command>udev</command> helper programs
267          and static devices which get copied to /dev when booted.</para>
268          <indexterm zone="ch-system-udev lib-udev">
269            <primary sortas="e-/lib/udev">/lib/udev</primary>
270          </indexterm>
271        </listitem>
272      </varlistentry>
273    </variablelist>
274
275  </sect2>
276
277</sect1>
Note: See TracBrowser for help on using the repository browser.