Alexander Yurchenko recently added device hotplug support to the tree and will be enabled by default in GENERIC once testing is complete for all architectures which can support it.
Alexander Yurchenko recently added device hotplug support to the tree and will be enabled by default in GENERIC once testing is complete for all architectures which can support it.
I’m not so sure about using the pseudo device as the communication mechanism to userland. Wouldn’t the hotplug system have to poll? And it pushes the userland half of the system into having to be written in system’s langauges like C.
Hotplug in the Linux kernel seems better – the hotplug system is easily written in anything available at boot, and can change what program it runs at boot time.
Anyone know of any advantages to the OpenBSD system?
What on earth are you talking about?
The device file can be read by anything that can read from a file. There is no restriction to “system languages like C”.
its actually a fairly elegant system, a userland daemon can use select() or poll() to wait for hotplug events to be ready from the device file, in a totally non-blocking and non “polling” manner.
must say I like it more than the linux design whereby the kernel itself calls some binary for every hotplug event.
Why is it that everything always seem better in “Linux this and that”…
There is a huge advantage of the OpenBSD system… it’s FREE and it’s aimed for security…