Jef Spaleta <jspaleta <at> gmail.com> writes:
>
> On Tue, Oct 4, 2011 at 6:40 PM, Adam Williamson <awilliam <at> redhat.com>
> wrote:
> > So essentially all that's going on here is 'wait for udev to be done',
> > which is a fairly sensible prerequisite for all manner of other bits of
> > boot.
> >
> > The reasons why udev takes a while to be 'done' are more interesting and
> > Lennart went into some of them.
>
> Right, and as I've said..in the context of the comparison with Knoppix
> specifically I found evidence that udev settle use to be a long boot
> up blocker in previous Knoppix releases. I wouldn't be surprised at
> all if Knoppix init had been changed in the newest release that JB
> tried to no longer call the settle function (or call it with a very
> short timeout) But I'm not going to be downloading Knoppix and
> dissecting its init to prove that to myself. Its obvious from my
> testing that settle is one of the big blockers, a blocker multiple
> live distributions have hit in the last year actually.
> ...
Here it is.
# grep -ir udevadm /etc/
...
/etc/init.d/knoppix-autoconfig: /sbin/udevadm settle
/etc/init.d/knoppix-autoconfig: udevadm settle
/etc/init.d/knoppix-autoconfig: /sbin/udevadm settle
/etc/init.d/open-iscsi: udevadm settle
/etc/init.d/udev: if udevadm settle; then
...
All references to 'udevadm settle' are without parameters, so:
$ man udevadm
...
udevadm settle [options]
Watches the udev event queue, and exits if all current events are
handled.
--timeout=seconds
Maximum number of seconds to wait for the event queue to become
empty. The default value is 180 seconds. A value of 0 will check if
the queue is empty and always return immediately.
You can see knoppix-autoconfig
http://pastebin.com/uU5Av6Pf
You can see open-iscsi
http://pastebin.com/9nRp5JGh
You can see udev
http://pastebin.com/aGgghx0s
JB
--
devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/devel