Changeset ef13657 for chapter06/udev.xml
- Timestamp:
- 08/08/2004 02:11:09 AM (20 years ago)
- Branches:
- 6.0
- Children:
- 5ba3d1d
- Parents:
- 6e41459
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/udev.xml
r6e41459 ref13657 19 19 </segmentedlist> 20 20 21 <segmentedlist> 22 <segtitle>Udev installation depends on</segtitle> 23 <seglistitem><seg>Coreutils, Make</seg></seglistitem> 24 </segmentedlist> 25 21 26 </sect2> 22 27 … … 24 29 <title>Installation of Udev</title> 25 30 26 <para> First compile Udev:</para>31 <para>Compile Udev:</para> 27 32 28 33 <screen><userinput>make udevdir=/dev</userinput></screen> … … 31 36 <varlistentry> 32 37 <term><parameter>udevdir=/dev</parameter></term> 33 <listitem><para>This tells <command>udev</command> which directory it is to34 create device nodes in.</para></listitem>38 <listitem><para>This tells <command>udev</command> in which directory 39 devices nodes are to be created.</para></listitem> 35 40 </varlistentry> 36 41 </variablelist> 37 42 38 <para>Install it:</para>43 <para>Install the package:</para> 39 44 40 45 <screen><userinput>make udevdir=/dev install</userinput></screen> … … 47 52 48 53 </sect2> 49 50 54 51 55 <sect2 id="contents-udev" role="content"><title>Contents of Udev</title> … … 60 64 <varlistentry id="udev"> 61 65 <term><command>udev</command></term> 62 <listitem><indexterm zone="ch-system-udev udev"><primary 63 sortas="b-udev">udev</primary></indexterm> 66 <listitem><indexterm zone="ch-system-udev udev"><primary sortas="b-udev">udev</primary></indexterm> 64 67 <para>is used to create device nodes in <filename 65 class="directory">/dev</filename> or to rename network interfaces (not in LFS)66 in response to hotplug events.</para>68 class="directory">/dev</filename> or to rename network interfaces (not 69 in LFS) in response to hotplug events.</para> 67 70 </listitem></varlistentry> 68 71 69 72 <varlistentry id="udevd"> 70 73 <term><command>udevd</command></term> 71 <listitem> <indexterm zone="ch-system-udev udevd"><primary 72 sortas="b-udevd">udevd</primary></indexterm> 74 <listitem> <indexterm zone="ch-system-udev udevd"><primary sortas="b-udevd">udevd</primary></indexterm> 73 75 <para>is a daemon that reorders hotplug events before submitting them to 74 76 <command>udev</command>, … … 78 80 <varlistentry id="udevsend"> 79 81 <term><command>udevsend</command></term> 80 <listitem> <indexterm zone="ch-system-udev udevsend"><primary 81 sortas="b-udevsend">udevsend</primary></indexterm> 82 <listitem> <indexterm zone="ch-system-udev udevsend"><primary sortas="b-udevsend">udevsend</primary></indexterm> 82 83 <para>is used to deliver hotplug events to <command>udevd</command>.</para> 83 84 </listitem></varlistentry> … … 85 86 <varlistentry id="udevstart"> 86 87 <term><command>udevstart</command></term> 87 <listitem> <indexterm zone="ch-system-udev udevstart"><primary 88 sortas="b-udevstart">udevstart</primary></indexterm> 88 <listitem> <indexterm zone="ch-system-udev udevstart"><primary sortas="b-udevstart">udevstart</primary></indexterm> 89 89 <para>is used to create device nodes in <filename 90 90 class="directory">/dev</filename> that correspond to drivers compiled directly … … 98 98 <varlistentry id="udevinfo"> 99 99 <term><command>udevinfo</command></term> 100 <listitem> <indexterm zone="ch-system-udev udevinfo"><primary 101 sortas="b-udevinfo">udevinfo</primary></indexterm> 100 <listitem> <indexterm zone="ch-system-udev udevinfo"><primary sortas="b-udevinfo">udevinfo</primary></indexterm> 102 101 <para>allows users to query the <command>udev</command> database for 103 102 information on any device currently present on the system. It also 104 provides a way to query any device in the sysfs tree to help creating udev 103 provides a way to query any device in the <systemitem 104 class="filesystem">sysfs</systemitem> tree to help creating udev 105 105 rules.</para> 106 106 </listitem></varlistentry> … … 108 108 <varlistentry id="udevtest"> 109 109 <term><command>udevtest</command></term> 110 <listitem> <indexterm zone="ch-system-udev udevtest"><primary 111 sortas="b-udevtest">udevtest</primary></indexterm> 110 <listitem> <indexterm zone="ch-system-udev udevtest"><primary sortas="b-udevtest">udevtest</primary></indexterm> 112 111 <para>simulates a <command>udev</command> run for the given device, 113 112 and prints out the name of the node the real <command>udev</command> would … … 117 116 <varlistentry id="etc-dev-d"> 118 117 <term><filename class="directory">/etc/dev.d</filename></term> 119 <listitem> <indexterm zone="ch-system-udev etc-dev-d"><primary 120 sortas="e-etc-dev-d">/etc/dev.d</primary></indexterm> 121 <para>directory is supposed to contain user-written handlers for device 118 <listitem> <indexterm zone="ch-system-udev etc-dev-d"><primary sortas="e-etc-dev-d">/etc/dev.d</primary></indexterm> 119 <para>directory contains user-written handlers for device 122 120 creation hotplug events.</para> 123 121 </listitem></varlistentry> … … 125 123 <varlistentry id="etc-udev"> 126 124 <term><filename class="directory">/etc/udev</filename></term> 127 <listitem> <indexterm zone="ch-system-udev etc-udev"><primary 128 sortas="e-etc-udev">/etc/udev</primary></indexterm> 125 <listitem> <indexterm zone="ch-system-udev etc-udev"><primary sortas="e-etc-udev">/etc/udev</primary></indexterm> 129 126 <para>directory contains <command>udev</command> configuation files, 130 127 device permissions and rules for device naming.</para> … … 134 131 135 132 </sect1> 133
Note:
See TracChangeset
for help on using the changeset viewer.