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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f258ea4 was b875779, checked in by Jim Gifford <clfs@…>, 16 years ago

Updated to Udev 143

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