source: BOOK/boot/common/eudev.xml@ e2ebd22

clfs-3.0.0-systemd systemd
Last change on this file since e2ebd22 was d103311, checked in by Chris Staub <chris@…>, 11 years ago

Added BUILD64 to new page in temp-system/64, and removed it from temp-system and boot package pages

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