aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/udev.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/udev.xml')
-rw-r--r--chapter07/udev.xml29
1 files changed, 15 insertions, 14 deletions
diff --git a/chapter07/udev.xml b/chapter07/udev.xml
index e64fdf191..00afb06e7 100644
--- a/chapter07/udev.xml
+++ b/chapter07/udev.xml
@@ -105,14 +105,14 @@
class="directory">/lib/udev/devices</filename> to <filename
class="directory">/dev</filename>. This is necessary because some devices,
directories, and symlinks are needed before the dynamic device handling
- processes are available during the early stages of booting a system.
- Creating static device nodes in <filename
- class="directory">/lib/udev/devices</filename> also provides an easy
- workaround for devices that are not supported by the dynamic device
- handling infrastructure. The bootscript then starts the Udev daemon,
- <command>udevd</command>, which will act on any uevents it receives.
- Finally, the bootscript forces the kernel to replay uevents for any
- devices that have already been registered and then waits for
+ processes are available during the early stages of booting a system, or
+ are required by <command>udevd</command> itself. Creating static device
+ nodes in <filename class="directory">/lib/udev/devices</filename> also
+ provides an easy workaround for devices that are not supported by the
+ dynamic device handling infrastructure. The bootscript then starts the
+ Udev daemon, <command>udevd</command>, which will act on any uevents it
+ receives. Finally, the bootscript forces the kernel to replay uevents for
+ any devices that have already been registered and then waits for
<command>udevd</command> to handle them.</para>
</sect3>
@@ -155,9 +155,9 @@
<filename>/sys/bus/pci/devices/0000:00:0d.0/modalias</filename> file
might contain the string
<quote>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</quote>.
- The rules that LFS installs will cause <command>udevd</command> to call
- out to <command>/sbin/modprobe</command> with the contents of the
- <envar>MODALIAS</envar> uevent environment variable (that should be the
+ The default rules provided with Udev will cause <command>udevd</command>
+ to call out to <command>/sbin/modprobe</command> with the contents of the
+ <envar>MODALIAS</envar> uevent environment variable (which should be the
same as the contents of the <filename>modalias</filename> file in sysfs),
thus loading all modules whose aliases match this string after wildcard
expansion.</para>
@@ -268,7 +268,8 @@
<para>This usually happens if a rule unexpectedly matches a device. For
example, a poorly-writen rule can match both a SCSI disk (as desired)
and the corresponding SCSI generic device (incorrectly) by vendor.
- Find the offending rule and make it more specific.</para>
+ Find the offending rule and make it more specific, with the help of the
+ <command>udevadm info</command> command.</para>
</sect3>
@@ -281,8 +282,8 @@
For now, you can work around it by creating a rule that waits for the used
<systemitem class="filesystem">sysfs</systemitem> attribute and appending
it to the <filename>/etc/udev/rules.d/10-wait_for_sysfs.rules</filename>
- file. Please notify the LFS Development list if you do so and it
- helps.</para>
+ file (create this file if it does not exist). Please notify the LFS
+ Development list if you do so and it helps.</para>
</sect3>