Re: hotplug(4) r1.10 ignoring hotplug_put_event() prior to hotplugopen() [Was: hotplugd(8) ignoring devices attached before boot]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

On Mon, 13 Dec 2010 14:28:42 +0100, MERIGHI Marcus
<mcmer-openbsd@tor.at> wrote:

Maybe a bit aggressive, but why not something like this in put_event :

if (!opened && event.type == DETACH) {
 foreach (ev in event_queue)
    if (ev.type == ATTACH && ev.devclass == event.devclass &&
       ev.devname == event.devname)
        remove(ev);
} 

So we remove all attached then detached devices before hotplugd is
started.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: hotplug(4) r1.10 ignoring hotplug_put_event() prior to ..., Jonathan Armani, (Mon Dec 13, 7:51 am)
Re: hotplug(4) r1.10 ignoring hotplug_put_event() prior to ..., Joachim Schipper, (Tue Dec 14, 12:58 am)