![]() | |||||||||||||
Messages in this thread |
> And yes, we could use ascii in the event list, but then again, a > userspace version of /sbin/hotplug that writes events to a pipe that is > read from a daemon enables the same thing to happen :) No, it doesn't. You throw away the ordering the kernel naturally has. If you write out events from within the kernel, you know that you'll never see a replug before an unplug. Writing a pipe from the kernel, which is generally called a character device, has other advantages as well. You can report events dropped as errors. The hotplug spawning scheme cannot do that. No spawning cannot differentiate between no event and an event lost. Regards Oliver - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 12:34 [W:7.756 / U:0.010 seconds] ©2003-2008 Jasper Spaans | |||||||||||||