Re: [ANNOUNCE] udev 0.1 release

From: Oliver Neukum (oliver@neukum.org)
Date: Sat Apr 12 2003 - 02:49:00 EST


> 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/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:26 EST