udev 145, when are events fully processed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guys,

Trying to figure something out here, using the following I'm seeing a
delay in the creation of block devices in /dev ...

# trigger the sorted events
echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug

rm -fr /dev/.udev > /dev/null 2>&1
mkdir -p /dev/.udev > /dev/null 2>&1
/sbin/udevd

# Not entirely sure what this is for
/sbin/udevadm control --env=STARTUP=1
/sbin/udevadm trigger
/sbin/udevadm settle
# Nor sure what this does
/sbin/udevadm control --env=STARTUP=


I think my problem is, while all the events have been sent to udevd
there is a delay if I do a  "fsck LABEL=root" straight on say the next
line,  a "ls" shows that none of the block devices exist until a second
or two later. A sleep 5 before my "ls" works around this and the block
devices show up.

Any ideas how I can determine once all udev events have finished
processing so I can continue boot?


Kind Regards
Nigel
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux