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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 893d64a 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
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]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
[1da2a84]28 <para os="a">Prepare Udev for compilation:</para>
[3f8be484]29
[b875779]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>
[3f8be484]34
[1da2a84]35 <para os="c">Compile the package:</para>
[3f8be484]36
[1da2a84]37<screen os="d"><userinput>make</userinput></screen>
[3f8be484]38
[4faecfa]39 <para os="g">Install the package:</para>
[3f8be484]40
[1da2a84]41<screen os="h"><userinput>make install</userinput></screen>
[3f8be484]42
[1da2a84]43 <para os="i">Install documentation:</para>
[de3d632]44
[1da2a84]45<screen os="j"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html \
[a40edab]46 /usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
[3f8be484]47
[1da2a84]48 <para os="k">Create a directory for storing firmware that can be
[07e9936]49 loaded by <command>udev</command>:</para>
50
[1da2a84]51<screen os="l"><userinput>install -dv /lib/firmware</userinput></screen>
[9aba4a0]52
[3f8be484]53 </sect2>
54
55 <sect2 id="contents-udev" role="content">
56 <title>Contents of Udev</title>
57
58 <segmentedlist>
59 <segtitle>Installed programs</segtitle>
[f65d2a0]60 <segtitle>Installed library</segtitle>
[3f8be484]61 <segtitle>Installed directory</segtitle>
62
63 <seglistitem>
[1da2a84]64 <seg>udevadm, udevd</seg>
65 <seg>libvolume_id, libudev</seg>
[3a9adc5c]66 <seg>/etc/udev, /lib/udev</seg>
[3f8be484]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
[3a9adc5c]75 <varlistentry id="udevadm">
76 <term><command>udevadm</command></term>
77 <listitem>
[1da2a84]78 <para>udevadm controls the runtime behavior of udev, requests kernel
79 events, manages the event queue, and provides simple debugging.</para>
[3a9adc5c]80 <indexterm zone="ch-system-udev udevadm">
81 <primary sortas="b-udevadm">udevadm</primary>
82 </indexterm>
83 </listitem>
84 </varlistentry>
85
[3f8be484]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
[3a9adc5c]98 <!-- Start of Helpers -->
[a68b59e]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
[6e8f798]110 <varlistentry id="cdrom_id">
111 <term><command>cdrom_id</command></term>
[3f8be484]112 <listitem>
[3a9adc5c]113 <para>Print the capabilities of a CDROM or DVDROM drive.</para>
[6e8f798]114 <indexterm zone="ch-system-udev cdrom_id">
115 <primary sortas="b-cdrom_id">cdrom_id</primary>
[3f8be484]116 </indexterm>
117 </listitem>
118 </varlistentry>
119
[1da2a84]120 <varlistentry id="collect">
121 <term><command>collect</command></term>
[a68b59e]122 <listitem>
[1da2a84]123 <para>DESCRIPTION REQUIRED</para>
124 <indexterm zone="ch-system-udev collect">
125 <primary sortas="b-collect">collect</primary>
[a68b59e]126 </indexterm>
127 </listitem>
128 </varlistentry>
129
[1da2a84]130 <varlistentry id="create_floppy_devices">
131 <term><command>create_floppy_devices</command></term>
[4ce2d9d]132 <listitem>
[1da2a84]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>
[4ce2d9d]136 </indexterm>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry id="edd_id">
141 <term><command>edd_id</command></term>
142 <listitem>
[3a9adc5c]143 <para>Identify x86 disk drives from Enhanced Disk Drive calls.</para>
[4ce2d9d]144 <indexterm zone="ch-system-udev edd_id">
145 <primary sortas="b-edd_id">edd_id</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
[a68b59e]150 <varlistentry id="firmware.sh">
[9e18eea]151 <term><command>firmware.sh</command></term>
[3f8be484]152 <listitem>
[3a9adc5c]153 <para>Script to load firmware for a device</para>
[a68b59e]154 <indexterm zone="ch-system-udev firmware.sh">
155 <primary sortas="b-firmware.sh">firmware.sh</primary>
[6e8f798]156 </indexterm>
157 </listitem>
158 </varlistentry>
159
[1da2a84]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
[a68b59e]170 <varlistentry id="path_id">
171 <term><command>path_id</command></term>
[6e8f798]172 <listitem>
[a68b59e]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>
[6e8f798]177 </indexterm>
178 </listitem>
179 </varlistentry>
180
[a68b59e]181 <varlistentry id="scsi_id">
182 <term><command>scsi_id</command></term>
[6e8f798]183 <listitem>
[3a9adc5c]184 <para>Retrieve or generate a unique SCSI identifier.</para>
[a68b59e]185 <indexterm zone="ch-system-udev scsi_id">
186 <primary sortas="b-scsi_id">scsi_id</primary>
[6e8f798]187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="usb_id">
192 <term><command>usb_id</command></term>
193 <listitem>
[3a9adc5c]194 <para>Identify a USB block device.</para>
[6e8f798]195 <indexterm zone="ch-system-udev usb_id">
196 <primary sortas="b-usb_id">usb_id</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
[4ce2d9d]201 <varlistentry id="vol_id">
202 <term><command>vol_id</command></term>
[6e8f798]203 <listitem>
[3a9adc5c]204 <para>Probe filesystem type and read label and uuid.</para>
[4ce2d9d]205 <indexterm zone="ch-system-udev vol_id">
206 <primary sortas="b-vol_id">vol_id</primary>
[3f8be484]207 </indexterm>
208 </listitem>
209 </varlistentry>
[1da2a84]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>
[3a9adc5c]230<!-- End of Helpers -->
[3f8be484]231
[f65d2a0]232 <varlistentry id="libvolume_id">
233 <term><filename class="libraryfile">libvolume_id</filename></term>
234 <listitem>
[3a9adc5c]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>
[f65d2a0]238 <indexterm zone="ch-system-udev libvolume_id">
239 <primary sortas="b-libvolume_id">libvolume_id</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
[1da2a84]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
[3f8be484]254 <varlistentry id="etc-udev">
255 <term><filename class="directory">/etc/udev</filename></term>
256 <listitem>
[8fd11cd]257 <para>Contains <command>udev</command> configuration files,
[3f8be484]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
[6e8f798]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>
[3f8be484]275 </variablelist>
276
277 </sect2>
278
279</sect1>
Note: See TracBrowser for help on using the repository browser.