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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 961a22fe 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
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
[a10f292]43 <para os="i">Create a directory for storing firmware that can be
[07e9936]44 loaded by <command>udev</command>:</para>
45
[a10f292]46<screen os="j"><userinput>install -dv /lib/firmware</userinput></screen>
[9aba4a0]47
[3f8be484]48 </sect2>
49
50 <sect2 id="contents-udev" role="content">
51 <title>Contents of Udev</title>
52
53 <segmentedlist>
54 <segtitle>Installed programs</segtitle>
[f65d2a0]55 <segtitle>Installed library</segtitle>
[3f8be484]56 <segtitle>Installed directory</segtitle>
57
58 <seglistitem>
[1da2a84]59 <seg>udevadm, udevd</seg>
60 <seg>libvolume_id, libudev</seg>
[3a9adc5c]61 <seg>/etc/udev, /lib/udev</seg>
[3f8be484]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
[3a9adc5c]70 <varlistentry id="udevadm">
71 <term><command>udevadm</command></term>
72 <listitem>
[1da2a84]73 <para>udevadm controls the runtime behavior of udev, requests kernel
74 events, manages the event queue, and provides simple debugging.</para>
[3a9adc5c]75 <indexterm zone="ch-system-udev udevadm">
76 <primary sortas="b-udevadm">udevadm</primary>
77 </indexterm>
78 </listitem>
79 </varlistentry>
80
[3f8be484]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
[3a9adc5c]93 <!-- Start of Helpers -->
[a68b59e]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
[6e8f798]105 <varlistentry id="cdrom_id">
106 <term><command>cdrom_id</command></term>
[3f8be484]107 <listitem>
[3a9adc5c]108 <para>Print the capabilities of a CDROM or DVDROM drive.</para>
[6e8f798]109 <indexterm zone="ch-system-udev cdrom_id">
110 <primary sortas="b-cdrom_id">cdrom_id</primary>
[3f8be484]111 </indexterm>
112 </listitem>
113 </varlistentry>
114
[1da2a84]115 <varlistentry id="collect">
116 <term><command>collect</command></term>
[a68b59e]117 <listitem>
[1da2a84]118 <para>DESCRIPTION REQUIRED</para>
119 <indexterm zone="ch-system-udev collect">
120 <primary sortas="b-collect">collect</primary>
[a68b59e]121 </indexterm>
122 </listitem>
123 </varlistentry>
124
[1da2a84]125 <varlistentry id="create_floppy_devices">
126 <term><command>create_floppy_devices</command></term>
[4ce2d9d]127 <listitem>
[1da2a84]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>
[4ce2d9d]131 </indexterm>
132 </listitem>
133 </varlistentry>
134
135 <varlistentry id="edd_id">
136 <term><command>edd_id</command></term>
137 <listitem>
[3a9adc5c]138 <para>Identify x86 disk drives from Enhanced Disk Drive calls.</para>
[4ce2d9d]139 <indexterm zone="ch-system-udev edd_id">
140 <primary sortas="b-edd_id">edd_id</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
[a68b59e]145 <varlistentry id="firmware.sh">
[9e18eea]146 <term><command>firmware.sh</command></term>
[3f8be484]147 <listitem>
[3a9adc5c]148 <para>Script to load firmware for a device</para>
[a68b59e]149 <indexterm zone="ch-system-udev firmware.sh">
150 <primary sortas="b-firmware.sh">firmware.sh</primary>
[6e8f798]151 </indexterm>
152 </listitem>
153 </varlistentry>
154
[1da2a84]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
[a68b59e]165 <varlistentry id="path_id">
166 <term><command>path_id</command></term>
[6e8f798]167 <listitem>
[a68b59e]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>
[6e8f798]172 </indexterm>
173 </listitem>
174 </varlistentry>
175
[a68b59e]176 <varlistentry id="scsi_id">
177 <term><command>scsi_id</command></term>
[6e8f798]178 <listitem>
[3a9adc5c]179 <para>Retrieve or generate a unique SCSI identifier.</para>
[a68b59e]180 <indexterm zone="ch-system-udev scsi_id">
181 <primary sortas="b-scsi_id">scsi_id</primary>
[6e8f798]182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="usb_id">
187 <term><command>usb_id</command></term>
188 <listitem>
[3a9adc5c]189 <para>Identify a USB block device.</para>
[6e8f798]190 <indexterm zone="ch-system-udev usb_id">
191 <primary sortas="b-usb_id">usb_id</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
[4ce2d9d]196 <varlistentry id="vol_id">
197 <term><command>vol_id</command></term>
[6e8f798]198 <listitem>
[3a9adc5c]199 <para>Probe filesystem type and read label and uuid.</para>
[4ce2d9d]200 <indexterm zone="ch-system-udev vol_id">
201 <primary sortas="b-vol_id">vol_id</primary>
[3f8be484]202 </indexterm>
203 </listitem>
204 </varlistentry>
[1da2a84]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>
[3a9adc5c]225<!-- End of Helpers -->
[3f8be484]226
[f65d2a0]227 <varlistentry id="libvolume_id">
228 <term><filename class="libraryfile">libvolume_id</filename></term>
229 <listitem>
[3a9adc5c]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>
[f65d2a0]233 <indexterm zone="ch-system-udev libvolume_id">
234 <primary sortas="b-libvolume_id">libvolume_id</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
[1da2a84]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
[3f8be484]249 <varlistentry id="etc-udev">
250 <term><filename class="directory">/etc/udev</filename></term>
251 <listitem>
[8fd11cd]252 <para>Contains <command>udev</command> configuration files,
[3f8be484]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
[6e8f798]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>
[3f8be484]270 </variablelist>
271
272 </sect2>
273
274</sect1>
Note: See TracBrowser for help on using the repository browser.