From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Date: Sat, 12 Apr 2003 07:49:00 +0000 Subject: Re: [ANNOUNCE] udev 0.1 release Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org > 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 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel