source: BOOK/boot/common/eudev.xml@ 2558f95

systemd
Last change on this file since 2558f95 was 7cd7f99, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • Property mode set to 100644
File size: 10.7 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
[01b60c4]8<sect1 id="ch-boot-eudev" role="wrap">
9 <?dbhtml filename="eudev.html"?>
[3f8be484]10
[01b60c4]11 <title>Eudev-&eudev-version;</title>
[3f8be484]12
[01b60c4]13 <indexterm zone="ch-boot-eudev">
[b0307ef]14 <primary sortas="a-Eudev">Eudev</primary>
[3f8be484]15 </indexterm>
16
[dafa360]17 <sect2 role="package">
18 <title/>
19
20 <para>The Eudev package contains programs for dynamic creation of device
21 nodes.</para>
22
23 </sect2>
[3f8be484]24
25 <sect2 role="installation">
[b0307ef]26 <title>Installation of Eudev</title>
[3f8be484]27
[dafa360]28 <para os="a">Prepare Eudev for compilation:</para>
[3f8be484]29
[7cd7f99]30<screen os="b"><userinput>./configure \
31 --prefix=/tools \
32 --build=${CLFS_HOST} \
33 --host=${CLFS_TARGET} \
34 --disable-introspection \
35 --disable-gtk-doc-html \
36 --disable-gudev \
37 --disable-keymap \
38 --with-firmware-path=/tools/lib/firmware \
[cc056b6]39 --enable-libkmod</userinput></screen>
[1da2a84]40
[615803b]41 <variablelist os="b1">
42 <title>The meaning of the new configure options:</title>
43
44 <varlistentry>
45 <term><parameter>--disable-introspection --disable-gtk-doc-html
46 --disable-gudev --disable-keymap</parameter></term>
47 <listitem>
48 <para>These switches disable several features which are not needed
49 for the temporary system and have additional dependencies.</para>
50 </listitem>
51 </varlistentry>
52
53 <varlistentry>
54 <term><parameter>--with-firmware-path=/tools/lib/firmware</parameter></term>
55 <listitem>
56 <para>This allows Eudev to load firmware from
57 <filename class="directory">/tools/lib/firmware</filename> instead of
58 the default location of <filename class="directory">/lib/firmware</filename>.</para>
59 </listitem>
60 </varlistentry>
61
62 <varlistentry>
63 <term><parameter>--enable-libkmod</parameter></term>
64 <listitem>
65 <para>Allows Eudev to load modules by using
66 <filename class="libraryfile">libkmod</filename> directly.</para>
67 </listitem>
68 </varlistentry>
69
70 </variablelist>
71
[dafa360]72 <para os="c">Compile the package:</para>
[1da2a84]73
[dafa360]74<screen os="d"><userinput>make</userinput></screen>
[3f8be484]75
[dafa360]76 <para os="g">Install the package:</para>
[3f8be484]77
[90e8c97]78<screen os="j"><userinput>make install</userinput></screen>
[3f8be484]79
[dafa360]80 <para os="i">Create a directory for storing firmware that can be
81 loaded by <command>udev</command>:</para>
[ef09b2e]82
[d2ecc65]83<screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen>
[ef09b2e]84
[dafa360]85 <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
[dcbb278]86
[fcc84cc]87<screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" &gt; \
[a988b8e]88 /tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
[dcbb278]89
[679a675]90 </sect2>
[3f8be484]91
[dafa360]92 <sect2 id="contents-eudev" role="content">
93 <title>Contents of Eudev</title>
94
95 <segmentedlist>
96 <segtitle>Installed programs</segtitle>
97 <segtitle>Installed library</segtitle>
98 <segtitle>Installed directories</segtitle>
99
100 <seglistitem>
101 <seg>ata_id, cdrom_id, collect, create_floppy_devices, edd_id,
102 firmware.sh, fstab_import, path_id, scsi_id, udevadm, udevd, usb_id,
103 v4l_id, write_cd_rules, write_net_rules</seg>
104 <seg>libudev</seg>
[d2ecc65]105 <seg>/tools/etc/udev, /tools/lib/firmware, /tools/lib/udev</seg>
[dafa360]106 </seglistitem>
107 </segmentedlist>
108
109 <variablelist>
110 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
111 <?dbfo list-presentation="list"?>
112 <?dbhtml list-presentation="table"?>
113
[4c2f1e7]114 <varlistentry id="udevadm-eudev">
[dafa360]115 <term><command>udevadm</command></term>
116 <listitem>
117 <para>Controls the runtime behavior of Eudev, requests kernel
118 events, manages the event queue, and provides simple debugging.</para>
[4c2f1e7]119 <indexterm zone="ch-boot-eudev udevadm-eudev">
120 <primary sortas="b-udevadm-eudev">udevadm</primary>
[dafa360]121 </indexterm>
122 </listitem>
123 </varlistentry>
124
125 <varlistentry id="udevd">
126 <term><command>udevd</command></term>
127 <listitem>
128 <para>A daemon that reorders hotplug events before submitting them to
129 <command>udev</command>,
130 thus avoiding various race conditions</para>
131 <indexterm zone="ch-boot-eudev udevd">
132 <primary sortas="b-udevd">udevd</primary>
133 </indexterm>
134 </listitem>
135 </varlistentry>
136
137 <!-- Start of Helpers -->
138 <varlistentry id="ata_id">
139 <term><command>ata_id</command></term>
140 <listitem>
141 <para>Provides Eudev with a unique string and additional
142 information (uuid, label) for an ATA drive</para>
143 <indexterm zone="ch-boot-eudev ata_id">
144 <primary sortas="b-ata_id">ata_id</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 <varlistentry id="cdrom_id">
150 <term><command>cdrom_id</command></term>
151 <listitem>
152 <para>Prints the capabilities of a CDROM or DVDROM drive.</para>
153 <indexterm zone="ch-boot-eudev cdrom_id">
154 <primary sortas="b-cdrom_id">cdrom_id</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
158
159 <varlistentry id="collect">
160 <term><command>collect</command></term>
161 <listitem>
162 <para>Given an ID for the current uevent and a list of IDs
163(for all target uevents), registers the current ID and indicates whether
164all target IDs have been registered.</para>
165 <indexterm zone="ch-boot-eudev collect">
166 <primary sortas="b-collect">collect</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 <varlistentry id="create_floppy_devices">
172 <term><command>create_floppy_devices</command></term>
173 <listitem>
174 <para>Creates all possible floppy devices based on the CMOS type</para>
175 <indexterm zone="ch-boot-eudev create_floppy_devices">
176 <primary sortas="b-create_floppy_devices">create_floppy_devices</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="edd_id">
182 <term><command>edd_id</command></term>
183 <listitem>
184 <para>Identifies x86 disk drives from Enhanced Disk Drive calls</para>
185 <indexterm zone="ch-boot-eudev edd_id">
186 <primary sortas="b-edd_id">edd_id</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="firmware.sh">
192 <term><command>firmware.sh</command></term>
193 <listitem>
194 <para>Script to load firmware for a device</para>
195 <indexterm zone="ch-boot-eudev firmware.sh">
196 <primary sortas="b-firmware.sh">firmware.sh</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="fstab_import">
202 <term><command>fstab_import</command></term>
203 <listitem>
204 <para>Finds an entry in <filename>/etc/fstab</filename> that matches
205the current device, and provides its information to Udev.</para>
206 <indexterm zone="ch-boot-eudev fstab_import">
207 <primary sortas="b-fstab_import">fstab_import</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="path_id">
213 <term><command>path_id</command></term>
214 <listitem>
215 <para>Provides the shortest possible unique hardware path to a
216 device</para>
217 <indexterm zone="ch-boot-eudev path_id">
218 <primary sortas="b-path_id">path_id</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="scsi_id">
224 <term><command>scsi_id</command></term>
225 <listitem>
226 <para>Retrieves or generates a unique SCSI identifier.</para>
227 <indexterm zone="ch-boot-eudev scsi_id">
228 <primary sortas="b-scsi_id">scsi_id</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="usb_id">
234 <term><command>usb_id</command></term>
235 <listitem>
236 <para>Identifies a USB block device.</para>
237 <indexterm zone="ch-boot-eudev usb_id">
238 <primary sortas="b-usb_id">usb_id</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="v4l_id">
244 <term><command>v4l_id</command></term>
245 <listitem>
246 <para>Determines V4L capabilities for a given device.</para>
247 <indexterm zone="ch-boot-eudev v4l_id">
248 <primary sortas="b-v4l_id">v4l_id</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="write_cd_rules">
254 <term><command>write_cd_rules</command></term>
255 <listitem>
256 <para>A script which generates Eudev rules to provide stable names
257for network interfaces.</para>
258 <indexterm zone="ch-boot-eudev write_cd_rules">
259 <primary sortas="b-write_cd_rules">write_cd_rules</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 <varlistentry id="write_net_rules">
265 <term><command>write_net_rules</command></term>
266 <listitem>
267 <para>A script which generates Eudev rules to provide stable names
268for network interfaces.</para>
269 <indexterm zone="ch-boot-eudev write_net_rules">
270 <primary sortas="b-write_net_rules">write_net_rules</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274<!-- End of Helpers -->
275
[4c2f1e7]276 <varlistentry id="libudev-eudev">
[dafa360]277 <term><filename class="libraryfile">libudev</filename></term>
278 <listitem>
279 <para>A library interface to eudev device information.</para>
[4c2f1e7]280 <indexterm zone="ch-boot-eudev libudev-eudev">
281 <primary sortas="c-libudev-eudev">libudev</primary>
[dafa360]282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 <varlistentry id="etc-eudev">
287 <term><filename class="directory">/etc/udev</filename></term>
288 <listitem>
289 <para>Contains <command>udev</command> configuration files,
290 device permissions, and rules for device naming</para>
291 <indexterm zone="ch-boot-eudev etc-eudev">
292 <primary sortas="e-/etc/udev">/etc/udev</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
[3f8be484]296
[dafa360]297 <varlistentry id="lib-eudev">
298 <term><filename class="directory">/lib/udev</filename></term>
299 <listitem>
300 <para>Contains <command>udev</command> helper programs
301 and static devices which get copied to /dev when booted.</para>
302 <indexterm zone="ch-boot-eudev lib-eudev">
303 <primary sortas="e-/lib/udev">/lib/udev</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307 </variablelist>
[3f8be484]308
[dafa360]309 </sect2>
[3f8be484]310
311</sect1>
Note: See TracBrowser for help on using the repository browser.