r1399 - / trunk/udev

jim at linuxfromscratch.org jim at linuxfromscratch.org
Mon Apr 17 11:01:37 PDT 2006


Author: jim
Date: 2006-04-17 12:01:36 -0600 (Mon, 17 Apr 2006)
New Revision: 1399

Modified:
   /
   trunk/udev/
   trunk/udev/udev
Log:
 r2931 at server (orig r1397):  jim | 2006-04-17 09:51:16 -0700
  r2928 at server:  jim | 2006-04-17 09:45:11 -0700
  Updated to use udev 090's udevsettle
 



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:1396
   + b6734a72-470d-0410-b049-f317dca95413:/:1397


Property changes on: trunk/udev
___________________________________________________________________
Name: svk:merge
   - 38c7b366-470d-0410-a457-935707c16d9b:/udev:2868
3949c430-d905-0410-97b6-f115d20341b5:/udev:1348
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/udev:1263
   + 38c7b366-470d-0410-a457-935707c16d9b:/udev:2928
3949c430-d905-0410-97b6-f115d20341b5:/udev:1348
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/udev:1263

Modified: trunk/udev/udev
===================================================================
--- trunk/udev/udev	2006-04-17 18:01:30 UTC (rev 1398)
+++ trunk/udev/udev	2006-04-17 18:01:36 UTC (rev 1399)
@@ -48,15 +48,10 @@
 
 	# configure all devices
 	/sbin/udevtrigger
+	
+	# this replaces the old loop, exits after all devices are done
+	/sbin/udevsettle
 
-        # until we know how to do better, just wait for _all_ events to finish  	 	 
-	loop=300 		 
-	while test -d /dev/.udev/queue; do 		 
-	    sleep 0.1; 		 
-	    test "$loop" -gt 0 || break 		 
-	    loop=$(($loop - 1)) 		 
-	done 		 
-  		 
 	echo_ok
 	;;
 




More information about the cross-lfs mailing list