[Fedora-livecd-list] [PATCH] mkliveinitrd: wait for udev queue to clear before killing udevd
Alan Pevec
apevec at redhat.com
Mon Apr 14 22:51:12 UTC 2008
mkliveinitrd: wait for udev queue to clear before killing udevd
udevd doesn't seem to cleanup on kill, so let it clear events from /dev/.udev/queue/
Or should this be filed as udevd bug (cleanup .udev/queue/ on startup and/or kill) ?
diff --git a/mkliveinitrd b/mkliveinitrd
index 84fcc80..52b7326 100755
--- a/mkliveinitrd
+++ b/mkliveinitrd
@@ -818,6 +818,10 @@ fi
if [ -x /sysroot$init ] ; then
# Leave initramfs and transition to rootfs
+ if [ "$quiet" != "1" ] ; then
+ echo "waiting for system to settle before $init"
+ fi
+ /sbin/udevsettle --timeout=30 || :
kill `pidof udevd`
if [ "$quiet" != "1" ] ; then
echo "transfering control to $init"
More information about the Fedora-livecd-list
mailing list