diff options
Diffstat (limited to 'chapter06/eudev.xml')
-rw-r--r-- | chapter06/eudev.xml | 39 |
1 files changed, 31 insertions, 8 deletions
diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml index f66c669de..129d99d94 100644 --- a/chapter06/eudev.xml +++ b/chapter06/eudev.xml @@ -72,21 +72,18 @@ BLKID_LIBS='-L/tools/lib -lblkid' \ <para>Create some directories now that are needed for tests, but will also be used as a part of installation:</para> -<screen><userinput remap="test">mkdir -pv /lib/{firmware,udev} -mkdir -pv /lib/udev/rules.d +<screen><userinput remap="test">mkdir -pv /lib/udev/rules.d mkdir -pv /etc/udev/rules.d</userinput></screen> -<para>To test the results, run issue:</para> +<para>To test the results, issue:</para> <screen><userinput remap="test">make check</userinput></screen> - <para>Install the package and create the initial - <filename>/etc/udev/hwdb.bin</filename> file:</para> + <para>Install the package:</para> -<screen><userinput remap="install">make install -udevadm hwdb --update</userinput></screen> +<screen><userinput remap="install">make install</userinput></screen> -<para>Now, install the man pages:</para> + <para>Now, install the man pages:</para> <screen><userinput remap="install">tar -xvf ../eudev-&eudev-version;-manpages.tar.bz2 -C /usr/share</userinput></screen> @@ -98,6 +95,32 @@ make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen> </sect2> + <sect2 id="conf-eudev" role="configuration"> + <title>Configuring Eudev</title> + + <indexterm zone="conf-eudev"> + <primary sortas="a-Eudev">Eudev</primary> + <secondary>configuring</secondary> + </indexterm> + + <indexterm zone="conf-eudev"> + <primary sortas="e-/etc/udev/hwdb.bin">/etc/udev/hwdb.bin</primary> + </indexterm> + + <para>Information about hardware devices is maintained in the + <filename class="directory">/etc/udev/hwdb.d</filename> and + <filename class="directory">/usr/lib/udev/hwdb.d</filename> directories. + <application>Eudev</application> needs that information to be compiled + into a binary database <filename>/etc/udev/hwdb.bin</filename>. Create the + initial database:</para> + +<screen><userinput>udevadm hwdb --update</userinput></screen> + + <para>This command needs to be run each time the hardware information is + updated.</para> + + </sect2> + <sect2 id="contents-eudev" role="content"> <title>Contents of Eudev</title> |