From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Riedy Date: Fri, 11 Apr 2003 21:52:48 +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 Steven Dake writes: - - A much better solution could be had by select()ing on a filehandle - indicating when a new hotswap event is ready to be processed. No races, - no security issues, no performance issues. Or maybe a signal when an entry appears is sysfs? IIRC, sysfs supports dnotify, although I haven't tried it. Have a daemon watch a bus's sysfs directory for DN_CREATE|DN_DELETE. Then the kernel never need exec a program for plugging. There's some worry about having too many RT signals queued up, but I imagine filling a pipe could be an issue too. Jason, waiting bemusedly for links to /sys from /dev to replace links to /devices from /dev... ------------------------------------------------------- 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