udevadm --settle

DJ Lucas dj at linuxfromscratch.org
Wed May 18 10:14:39 PDT 2011


On 05/16/2011 12:59 AM, Bryan Kadzban wrote:
> DJ Lucas wrote:
>> <stuff about settle being broken>
> I see some traffic on linux-hotplug about this as well, so it looks like
> it's not LFS-specific, at least.  (Arch and Debian have both had bugs
> reported about this.)  The messages from Kay so far seem encouraging, as
> well.
>
> ...Oh, and I see the message from you there, too.  OK, never mind.  :-)
>
> It's looking like it'll get sorted out soon.
>
I committed a patch to patches/udev/udev-168-settle-1.patch, should be 
added to the book.

Also, while on the subject, in the udev README file they mention this 
change:

dj [ lsb-bootscripts ]$ diff -au etc/init.d/udev /etc/init.d/udev
--- etc/init.d/udev    2011-05-14 22:17:45.000000000 -0500
+++ /etc/init.d/udev    2011-05-18 12:08:33.000000000 -0500
@@ -73,7 +73,8 @@

          # Now traverse /sys in order to "coldplug" devices that have
          # already been discovered
-        /sbin/udevadm trigger --action=add
+        /sbin/udevadm trigger --action=add --type=subsystems
+        /sbin/udevadm trigger --action=add --type=devices

          # Now wait for udevd to process the uevents we triggered
          /sbin/udevadm settle

Seems logical, any reason not to?

-- DJ Lucas


-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.




More information about the lfs-dev mailing list