linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev 145, when are events fully processed?
@ 2009-08-01 19:55 Nigel Kukard
  2009-08-07 12:26 ` Harald Hoyer
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Nigel Kukard @ 2009-08-01 19:55 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-08-07 16:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-01 19:55 udev 145, when are events fully processed? Nigel Kukard
2009-08-07 12:26 ` Harald Hoyer
2009-08-07 12:56 ` Nigel Kukard
2009-08-07 14:15 ` Alan Jenkins
2009-08-07 14:48 ` Nigel Kukard
2009-08-07 15:34 ` Kay Sievers
2009-08-07 16:00 ` Alan Jenkins
2009-08-07 16:10 ` Nigel Kukard
2009-08-07 16:24 ` Kay Sievers
2009-08-07 16:40 ` Nigel Kukard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).