From 8b51e27a24a0ea799a63c22f70f48510fb0c9f0c Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Mon, 31 Oct 2005 17:36:57 +0000 Subject: [PATCH] Enable udev to execute programs in /etc/dev.d and /etc/hotplud.d again git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7109 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 7 +++++++ chapter03/packages.xml | 2 +- chapter06/udev.xml | 35 +++++++++++++++++++++++++++++++---- 3 files changed, 39 insertions(+), 5 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4b776bf02..e55c91fab 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -122,6 +122,13 @@ First a summary, then a detailed log. +October 31, 2005 [matt]: Build udev_run_devd and +udev_run_hotplugd and alter the udev rules file so that udev once again executes +programs in the /etc/dev.d and /etc/hotplug.d directories (fixes bug 1635). +Also change the udev rules to prevent udev from handling the "card" and "dm" +devices as these are managed entirely by programs outside of LFS. + + October 29, 2005 [matt]: Upgrade to udev-071 October 29, 2005 [matt]: Upgrade to man-pages 2.11. diff --git a/chapter03/packages.xml b/chapter03/packages.xml index 15ac5862c..7d0892484 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -403,7 +403,7 @@ url="http://www.linuxfromscratch.org/lfs/download.html#ftp"/>. Udev Rules Configuration - 5 KB: - + diff --git a/chapter06/udev.xml b/chapter06/udev.xml index 8404a1176..77b2490d4 100644 --- a/chapter06/udev.xml +++ b/chapter06/udev.xml @@ -32,19 +32,19 @@ Compile the package: -make +make EXTRAS=extras/run_directory To test the results, issue: make test. Install the package: -make install +make EXTRAS=extras/run_directory install Udev's configuration is far from ideal by default, so install the configuration files here: -cp -v ../udev-config-4.rules /etc/udev/rules.d/25-lfs.rules +cp -v ../udev-config-5.rules /etc/udev/rules.d/25-lfs.rules Install the documentation that explains how to create Udev rules: @@ -63,7 +63,8 @@ complement of device nodes. Installed programs Installed directory -udev, udevcontrol, udevd, udevinfo, udevmonitor, udevsend, udevstart and udevtest +udev, udev_run_devd, udev_run_hotplugd, udevcontrol, udevd, +udevinfo, udevmonitor, udevsend, udevstart and udevtest /etc/udev @@ -80,6 +81,32 @@ in LFS) in response to hotplug events udev + + udev_run_devd + + executes programs and scripts in the + /etc/dev.d/ directory in response + to hotplug events + + + udev_run_devd + + + + + + udev_run_hotplugd + + executes programs and scripts in the + /etc/hotplug.d/ directory in + response to hotplug events + + + udev_run_hotplugd + + + + udevcontrol