aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Kadzban <bryan@linuxfromscratch.org>2008-05-23 22:45:32 +0000
committerBryan Kadzban <bryan@linuxfromscratch.org>2008-05-23 22:45:32 +0000
commit9faa3e27afb932894ace74854fbb76631022446b (patch)
tree99da2275ad1ad81c7f241825ba5857de5e9a7e25
parent61e63d302cd8bdb73dbb2d6567ca6e66184ae251 (diff)
Install a few rules from udev's etc/udev/packages/ directory to handle device-mapper (LVM and dm-raid), md-raid, and a few Palm device symlinks.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8546 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml11
-rw-r--r--chapter06/udev.xml19
2 files changed, 28 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 35d9eb735..3d6e89be5 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -37,6 +37,17 @@
-->
<listitem>
+ <para>2008-05-23</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bryan] - Install a few extra rules from the
+ etc/udev/packages directory in udev. Thanks to Dan
+ Nicholson for noticing the issue.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2008-05-22</para>
<itemizedlist>
<listitem>
diff --git a/chapter06/udev.xml b/chapter06/udev.xml
index 95b7c3184..f2930ff7c 100644
--- a/chapter06/udev.xml
+++ b/chapter06/udev.xml
@@ -101,8 +101,23 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
</variablelist>
<para>Udev has to be configured in order to work properly, as its default
- configuration does not cover all devices. Install the (LFS-specific)
- custom rules files:</para>
+ configuration does not cover all devices. First install a few extra rules
+ files from Udev to help support device-mapper and RAID setups:</para>
+
+<screen><userinput remap="install">install -m644 -v etc/udev/packages/64-*.rules \
+ /etc/udev/rules.d/</userinput></screen>
+
+ <para>Now install a file to create symlinks for certain hand-held devices:</para>
+
+<screen><userinput remap="install">install -m644 -v etc/udev/packages/40-pilot-links.rules \
+ /etc/udev/rules.d/40-pilot-links.rules</userinput></screen>
+
+ <!-- There are more files available in the packages/ directory, if we want
+ to consider using them. Most are probably irrelevant to LFS though.
+ "alsa" isn't, but we already have those rules, using a better set of
+ matches. Most of the files in packages/ are for other architectures. -->
+
+ <para>Now install the LFS-specific custom rules files:</para>
<screen><userinput remap="install">cd &udev-config;
make install</userinput></screen>