source: clfs-embedded/BOOK/final-system/common/udev.xml@ 2d71b54

Last change on this file since 2d71b54 was faa6467, checked in by Jim Gifford <clfs@…>, 18 years ago

Removed Information that is not necessary for embedded systems.
Added udev
Added udev-rules
Added variables for toolchains

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
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 <secondary>boot</secondary>
16 </indexterm>
17
18 <sect2 role="package">
19 <title/>
20
21 <para>The Udev package contains programs for dynamic creation of device
22 nodes.</para>
23
24 </sect2>
25
26 <sect2 role="installation">
27 <title>Installation of Udev</title>
28
29<para os="a">Compile the package:</para>
30
31<screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC}" LD="${CC}"</userinput></screen>
32
33<para os="c">Install the package:</para>
34
35<screen os="d"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
36
37 </sect2>
38
39 <sect2 id="contents-udev" role="content">
40 <title>Contents of Udev</title>
41
42 <segmentedlist>
43 <segtitle>Installed programs</segtitle>
44 <segtitle>Installed directory</segtitle>
45
46 <seglistitem>
47 <seg>udevcontrol, udevd, udevinfo, udevmonitor, udevsend,
48 udevtest, and udevtrigger</seg>
49 <seg>/etc/udev</seg>
50 </seglistitem>
51 </segmentedlist>
52
53 <variablelist>
54 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
55 <?dbfo list-presentation="list"?>
56 <?dbhtml list-presentation="table"?>
57
58 <varlistentry id="udevcontrol">
59 <term><command>udevcontrol</command></term>
60 <listitem>
61 <para>Configures a number of options for the running
62 <command>udevd</command> daemon, such as the log level.</para>
63 <indexterm zone="ch-system-udev udevcontrol">
64 <primary sortas="b-udevcontrol">udevcontrol</primary>
65 </indexterm>
66 </listitem>
67 </varlistentry>
68
69 <varlistentry id="udevd">
70 <term><command>udevd</command></term>
71 <listitem>
72 <para>A daemon that reorders hotplug events before submitting them to
73 <command>udev</command>,
74 thus avoiding various race conditions</para>
75 <indexterm zone="ch-system-udev udevd">
76 <primary sortas="b-udevd">udevd</primary>
77 </indexterm>
78 </listitem>
79 </varlistentry>
80
81 <varlistentry id="udevinfo">
82 <term><command>udevinfo</command></term>
83 <listitem>
84 <para>Allows users to query the <command>udev</command> database for
85 information on any device currently present on the system; it also
86 provides a way to query any device in the <systemitem
87 class="filesystem">sysfs</systemitem> tree to help create udev
88 rules</para>
89 <indexterm zone="ch-system-udev udevinfo">
90 <primary sortas="b-udevinfo">udevinfo</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
94
95 <varlistentry id="udevmonitor">
96 <term><command>udevmonitor</command></term>
97 <listitem>
98 <para>Prints the event received from the kernel and the event which
99 <command>udev</command> sends out after rule processing</para>
100 <indexterm zone="ch-system-udev udevmonitor">
101 <primary sortas="b-udevmonitor">udevmonitor</primary>
102 </indexterm>
103 </listitem>
104 </varlistentry>
105
106 <varlistentry id="udevsettle">
107 <term><command>udevsettle</command></term>
108 <listitem>
109 <para>Watches the Udev event queue and exits if all current uevents
110 have been handled</para>
111 <indexterm zone="ch-system-udev udevsettle">
112 <primary sortas="b-udevsettle">udevsettle</primary>
113 </indexterm>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry id="udevtest">
118 <term><command>udevtest</command></term>
119 <listitem>
120 <para>Simulates a <command>udev</command> run for the given device,
121 and prints out the name of the node the real <command>udev</command>
122 would have created or the name of the renamed network interface</para>
123 <indexterm zone="ch-system-udev udevtest">
124 <primary sortas="b-udevtest">udevtest</primary>
125 </indexterm>
126 </listitem>
127 </varlistentry>
128
129 <varlistentry id="udevtrigger">
130 <term><command>udevtrigger</command></term>
131 <listitem>
132 <para>Walks the sysfs tree for devices that need to be added to the
133 system.</para>
134 <indexterm zone="ch-system-udev udevtrigger">
135 <primary sortas="b-udevtrigger">udevtrigger</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry id="etc-udev">
141 <term><filename class="directory">/etc/udev</filename></term>
142 <listitem>
143 <para>Contains <command>udev</command> configuration files,
144 device permissions, and rules for device naming</para>
145 <indexterm zone="ch-system-udev etc-udev">
146 <primary sortas="e-/etc/udev">/etc/udev</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="lib-udev">
152 <term><filename class="directory">/lib/udev</filename></term>
153 <listitem>
154 <para>Contains <command>udev</command> helper programs
155 and static devices which get copied to /dev when booted.</para>
156 <indexterm zone="ch-system-udev lib-udev">
157 <primary sortas="e-/lib/udev">/lib/udev</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161 </variablelist>
162
163 </sect2>
164
165</sect1>
Note: See TracBrowser for help on using the repository browser.