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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 697d86d was 1da2a84, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Checked and Updated Download Locations.
Updated Tree to 1.5.2.1.
Updated Util-Linux-NG to 2.14.1.
Updated TCL to 8.5.4.
Updated E2fsprogs to 1.41.1.
Updated M4 to 1.4.11.
Updated Kbd to 1.14.
Updated Bzip2 to 1.0.5.
Updated Autoconf to 2.63.
Updated Findutils to 4.4.0.
Updated Man-Pages to 3.09.
Updated Man to 1.6f.
Updated Shadow to 4.1.2.1.
Updated IPRoute2 to 2.6.26.
Updated Libtool to 2.2.6a.
Updated Module-Init-Tools to 3.4.1.
Updated Texinfo to 4.12.
Updated Vim to 7.2.
Updated MPFR to 2.3.2.
Updated Udev to 128.
Updated Linux to 2.6.26.5.
Applied fixes to Expect to make it compatible with TCL 8.5.
Add -Duseshrplib to the perl configure command. This causes perl to build a shared libperl.
Formatting fixes on multiple pages.
Use a Common inittab across all architectures.
Updated Bootscripts to 1.2-pre1.

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