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

Re: debian and UDEV



Am Donnerstag, 18. Mai 2006 19:22 schrieb Goswin von Brederlow:
> Because the only _solution_ with current userspace is to kill the
> kernels hotplug design and go back to synchronous handling.

Another solution might be to dynamically attach to udev events. This is how 
in-kernel async device discovery is handled and correctly done, this is 
without race conditions:
* register a function/program for new devices of your choice
* load the proper module
* your previously registers function will be run

Don't know if this is already possible with udev alone. The current scheme to 
install files to run rules is too static than what many programs might need.
The registration could be something like dbus or the like.

The world is not synchronous and predictable. A fake synchronous "thing" in 
the kernel would only be a work-around, too.

HS



Reply to: