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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1ded6e3 was fba9a50c, checked in by William Harrington <kb0iic@…>, 12 years ago

Add test suite commands to udev.

  • Property mode set to 100644
File size: 8.9 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 \
31 --sysconfdir=/etc --with-rootprefix="" \
32 --libexecdir=/lib --bindir=/sbin \
33 --with-usb-ids-path=no --with-pci-ids-path=no \
34 --enable-rule_generator --disable-introspection \
35 --disable-keymap --disable-gudev</userinput></screen>
36
37 <para os="c">Compile the package:</para>
38
39<screen os="d"><userinput>make</userinput></screen>
40
41 <para os="e">To test the results, issue: <userinput>make check</userinput>.</para>
42
43 <para os="g">Install the package:</para>
44
45<screen os="h"><userinput>make install</userinput></screen>
46
47 <para os="i">Create a directory for storing firmware that can be
48 loaded by <command>udev</command>:</para>
49
50<screen os="j"><userinput>install -dv /lib/firmware</userinput></screen>
51
52 </sect2>
53
54 <sect2 id="contents-udev" role="content">
55 <title>Contents of Udev</title>
56
57 <segmentedlist>
58 <segtitle>Installed programs</segtitle>
59 <segtitle>Installed library</segtitle>
60 <segtitle>Installed directories</segtitle>
61
62 <seglistitem>
63 <seg>ata_id, cdrom_id, collect, create_floppy_devices, edd_id,
64 firmware.sh, fstab_import, path_id, scsi_id, udevadm, udevd, usb_id,
65 v4l_id, write_cd_rules, write_net_rules</seg>
66 <seg>libudev</seg>
67 <seg>/etc/udev, /lib/firmware, /lib/udev, /usr/share/doc/udev</seg>
68 </seglistitem>
69 </segmentedlist>
70
71 <variablelist>
72 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
73 <?dbfo list-presentation="list"?>
74 <?dbhtml list-presentation="table"?>
75
76 <varlistentry id="udevadm">
77 <term><command>udevadm</command></term>
78 <listitem>
79 <para>Controls the runtime behavior of Udev, requests kernel
80 events, manages the event queue, and provides simple debugging.</para>
81 <indexterm zone="ch-system-udev udevadm">
82 <primary sortas="b-udevadm">udevadm</primary>
83 </indexterm>
84 </listitem>
85 </varlistentry>
86
87 <varlistentry id="udevd">
88 <term><command>udevd</command></term>
89 <listitem>
90 <para>A daemon that reorders hotplug events before submitting them to
91 <command>udev</command>,
92 thus avoiding various race conditions</para>
93 <indexterm zone="ch-system-udev udevd">
94 <primary sortas="b-udevd">udevd</primary>
95 </indexterm>
96 </listitem>
97 </varlistentry>
98
99 <!-- Start of Helpers -->
100 <varlistentry id="ata_id">
101 <term><command>ata_id</command></term>
102 <listitem>
103 <para>Provides Udev with a unique string and additional
104 information (uuid, label) for an ATA drive</para>
105 <indexterm zone="ch-system-udev ata_id">
106 <primary sortas="b-ata_id">ata_id</primary>
107 </indexterm>
108 </listitem>
109 </varlistentry>
110
111 <varlistentry id="cdrom_id">
112 <term><command>cdrom_id</command></term>
113 <listitem>
114 <para>Prints the capabilities of a CDROM or DVDROM drive.</para>
115 <indexterm zone="ch-system-udev cdrom_id">
116 <primary sortas="b-cdrom_id">cdrom_id</primary>
117 </indexterm>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry id="collect">
122 <term><command>collect</command></term>
123 <listitem>
124 <para>DESCRIPTION REQUIRED</para>
125 <indexterm zone="ch-system-udev collect">
126 <primary sortas="b-collect">collect</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130
131 <varlistentry id="create_floppy_devices">
132 <term><command>create_floppy_devices</command></term>
133 <listitem>
134 <para>Creates all possible floppy devices based on the CMOS type</para>
135 <indexterm zone="ch-system-udev create_floppy_devices">
136 <primary sortas="b-create_floppy_devices">create_floppy_devices</primary>
137 </indexterm>
138 </listitem>
139 </varlistentry>
140
141 <varlistentry id="edd_id">
142 <term><command>edd_id</command></term>
143 <listitem>
144 <para>Identifies x86 disk drives from Enhanced Disk Drive calls</para>
145 <indexterm zone="ch-system-udev edd_id">
146 <primary sortas="b-edd_id">edd_id</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="firmware.sh">
152 <term><command>firmware.sh</command></term>
153 <listitem>
154 <para>Script to load firmware for a device</para>
155 <indexterm zone="ch-system-udev firmware.sh">
156 <primary sortas="b-firmware.sh">firmware.sh</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="fstab_import">
162 <term><command>fstab_import</command></term>
163 <listitem>
164 <para>DESCRIPTION REQUIRED</para>
165 <indexterm zone="ch-system-udev fstab_import">
166 <primary sortas="b-fstab_import">fstab_import</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 <varlistentry id="path_id">
172 <term><command>path_id</command></term>
173 <listitem>
174 <para>Provides the shortest possible unique hardware path to a
175 device</para>
176 <indexterm zone="ch-system-udev path_id">
177 <primary sortas="b-path_id">path_id</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="scsi_id">
183 <term><command>scsi_id</command></term>
184 <listitem>
185 <para>Retrieves or generates a unique SCSI identifier.</para>
186 <indexterm zone="ch-system-udev scsi_id">
187 <primary sortas="b-scsi_id">scsi_id</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 <varlistentry id="usb_id">
193 <term><command>usb_id</command></term>
194 <listitem>
195 <para>Identifies a USB block device.</para>
196 <indexterm zone="ch-system-udev usb_id">
197 <primary sortas="b-usb_id">usb_id</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="v4l_id">
203 <term><command>v4l_id</command></term>
204 <listitem>
205 <para>DESCRIPTION REQUIRED</para>
206 <indexterm zone="ch-system-udev v4l_id">
207 <primary sortas="b-v4l_id">v4l_id</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="write_cd_rules">
213 <term><command>write_cd_rules</command></term>
214 <listitem>
215 <para>DESCRIPTION REQUIRED</para>
216 <indexterm zone="ch-system-udev write_cd_rules">
217 <primary sortas="b-write_cd_rules">write_cd_rules</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="write_net_rules">
223 <term><command>write_net_rules</command></term>
224 <listitem>
225 <para>DESCRIPTION REQUIRED</para>
226 <indexterm zone="ch-system-udev write_net_rules">
227 <primary sortas="b-write_net_rules">write_net_rules</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231<!-- End of Helpers -->
232
233 <varlistentry id="libudev">
234 <term><filename class="libraryfile">libudev</filename></term>
235 <listitem>
236 <para>DESCRIPTION REQUIRED</para>
237 <indexterm zone="ch-system-udev libudev">
238 <primary sortas="c-libudev">libudev</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="etc-udev">
244 <term><filename class="directory">/etc/udev</filename></term>
245 <listitem>
246 <para>Contains <command>udev</command> configuration files,
247 device permissions, and rules for device naming</para>
248 <indexterm zone="ch-system-udev etc-udev">
249 <primary sortas="e-/etc/udev">/etc/udev</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="lib-udev">
255 <term><filename class="directory">/lib/udev</filename></term>
256 <listitem>
257 <para>Contains <command>udev</command> helper programs
258 and static devices which get copied to /dev when booted.</para>
259 <indexterm zone="ch-system-udev lib-udev">
260 <primary sortas="e-/lib/udev">/lib/udev</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264 </variablelist>
265
266 </sect2>
267
268</sect1>
Note: See TracBrowser for help on using the repository browser.