Re: [PATCH] udev enhancements to use kernel event queue

Andrew Morton
2003-06-12T21:53:49Z

Greg KH <greg@kroah.com> wrote:
>
> > 3) /sbin/hotplug events can occur out of order, eg: remove event occurs,
> > /sbin/hotplug sleeps waiting for something, insert event occurs and
> > completes immediately. Then the remove event completes, after the
> > insert, resulting in out-of-order completion and a broken /dev. I have
> > seen this several times with udev.
>
> I responded:
> Yes this happens. I have a fix for this for udev itself. No
> kernel changes are needed. I'll show it at OLS in July if you
> want to see it :)

This is a significantly crappy aspect of the /sbin/hotplug callout. I'd be
very interested in reading an outline of how you propose fixing it, without
waiting until OLS, thanks.