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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1bf0ff5 was a10f292, checked in by Chris Staub <chris@…>, 15 years ago

Udev HTML rules files is now automatically installed

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