source: BOOK/final-system/multilib/udev.xml @ de3d632

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since de3d632 was de3d632, checked in by Jim Gifford <clfs@…>, 18 years ago

r672@server (orig r670): manuel | 2005-11-09 03:15:53 -0800
Stop Udev from killing udevd processes on the system and removed udevdir=/dev.

  • Property mode set to 100644
File size: 6.4 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  <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6  %general-entities;
7  %patches-entities;
8]>
9
10<sect1 id="ch-system-udev" role="wrap">
11  <?dbhtml filename="udev.html"?>
12
13  <title>Udev-&udev-version;</title>
14
15  <indexterm zone="ch-system-udev">
16    <primary sortas="a-Udev">Udev</primary>
17  </indexterm>
18
19  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
20  href="../common/udev.xml"
21  xpointer="xpointer(//*[@role='package'])"/>
22
23  <sect2 role="installation">
24    <title>Installation of Udev</title>
25
26    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
27    href="../common/udev.xml"
28    xpointer="xpointer(//*[@os='c'])"/>
29
30<screen><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \
31    EXTRAS="extras/firmware extras/run_directory" udevdir=/dev</userinput></screen>
32
33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34    href="../common/udev.xml"
35    xpointer="xpointer(//*[@os='d'])"/>
36
37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38    href="../common/udev.xml"
39    xpointer="xpointer(//*[@os='e'])"/>
40
41    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42    href="../common/udev.xml"
43    xpointer="xpointer(//*[@os='f'])"/>
44
45    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46    href="../common/udev.xml"
47    xpointer="xpointer(//*[@os='g'])"/>
48
49    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50    href="../common/udev.xml"
51    xpointer="xpointer(//*[@os='g1'])"/>
52
53    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54    href="../common/udev.xml"
55    xpointer="xpointer(//*[@os='h'])"/>
56
57    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58    href="../common/udev.xml"
59    xpointer="xpointer(//*[@os='i'])"/>
60
61    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62    href="../common/udev.xml"
63    xpointer="xpointer(//*[@os='a'])"/>
64
65    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66    href="../common/udev.xml"
67    xpointer="xpointer(//*[@os='b'])"/>
68
69    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70    href="../common/udev.xml"
71    xpointer="xpointer(//*[@os='j'])"/>
72
73    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74    href="../common/udev.xml"
75    xpointer="xpointer(//*[@os='k'])"/>
76
77  </sect2>
78
79  <sect2 id="contents-udev" role="content">
80    <title>Contents of Udev</title>
81
82    <segmentedlist>
83      <segtitle>Installed programs</segtitle>
84      <segtitle>Installed directory</segtitle>
85
86      <seglistitem>
87        <seg>udev, udevd, udevsend, udevstart, udevinfo, and udevtest</seg>
88        <seg>/etc/udev</seg>
89      </seglistitem>
90    </segmentedlist>
91
92    <variablelist>
93      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
94      <?dbfo list-presentation="list"?>
95      <?dbhtml list-presentation="table"?>
96
97      <varlistentry id="udev">
98        <term><command>udev</command></term>
99        <listitem>
100          <para>Creates device nodes in <filename
101          class="directory">/dev</filename> or renames network interfaces (not
102          in LFS) in response to hotplug events</para>
103            <indexterm zone="ch-system-udev udev">
104          <primary sortas="b-udev">udev</primary>
105        </indexterm>
106      </listitem></varlistentry>
107
108      <varlistentry id="udevd">
109        <term><command>udevd</command></term>
110        <listitem>
111          <para>A daemon that reorders hotplug events before submitting them to
112          <command>udev</command>,
113          thus avoiding various race conditions</para>
114            <indexterm zone="ch-system-udev udevd">
115          <primary sortas="b-udevd">udevd</primary>
116        </indexterm>
117      </listitem></varlistentry>
118
119      <varlistentry id="udevsend">
120        <term><command>udevsend</command></term>
121        <listitem>
122          <para>Delivers hotplug events to <command>udevd</command></para>
123            <indexterm zone="ch-system-udev udevsend">
124          <primary sortas="b-udevsend">udevsend</primary>
125        </indexterm>
126      </listitem></varlistentry>
127
128      <varlistentry id="udevstart">
129        <term><command>udevstart</command></term>
130        <listitem>
131          <para>Creates device nodes in <filename class="directory">/dev</filename>
132          that correspond to drivers compiled directly into the kernel; it
133          performs that task by simulating hotplug events presumably dropped by
134          the kernel before invocation of this program (e.g., because the root
135          filesystem has not been mounted) and submitting such synthetic hotplug
136          events to <command>udev</command></para>
137          <indexterm zone="ch-system-udev udevstart">
138            <primary sortas="b-udevstart">udevstart</primary>
139          </indexterm>
140        </listitem>
141      </varlistentry>
142
143      <varlistentry id="udevinfo">
144        <term><command>udevinfo</command></term>
145        <listitem>
146          <para>Allows users to query the <command>udev</command> database for
147          information on any device currently present on the system; it also
148          provides a way to query any device in the <systemitem
149          class="filesystem">sysfs</systemitem> tree to help create udev
150          rules</para>
151          <indexterm zone="ch-system-udev udevinfo">
152            <primary sortas="b-udevinfo">udevinfo</primary>
153          </indexterm>
154        </listitem>
155      </varlistentry>
156
157      <varlistentry id="udevtest">
158        <term><command>udevtest</command></term>
159        <listitem>
160          <para>Simulates a <command>udev</command> run for the given device,
161          and prints out the name of the node the real <command>udev</command>
162          would have created or (not in LFS) the name of the renamed network
163          interface</para>
164          <indexterm zone="ch-system-udev udevtest">
165            <primary sortas="b-udevtest">udevtest</primary>
166          </indexterm>
167        </listitem>
168      </varlistentry>
169
170      <varlistentry id="etc-udev">
171        <term><filename class="directory">/etc/udev</filename></term>
172        <listitem>
173          <para>Contains <command>udev</command> configuation files,
174          device permissions, and rules for device naming</para>
175          <indexterm zone="ch-system-udev etc-udev">
176            <primary sortas="e-/etc/udev">/etc/udev</primary>
177          </indexterm>
178        </listitem>
179      </varlistentry>
180
181    </variablelist>
182
183  </sect2>
184
185</sect1>
Note: See TracBrowser for help on using the repository browser.