From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Sat, 20 Aug 2005 00:09:44 +0000 Subject: coldplug scripts Message-Id: <20050820000944.GA16689@wonderland.linux.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org http://www.bofh.it/~md/debian/coldplug_0.0.tar.gz Here I uploaded a preliminary (and TOTALLY UNTESTED) version of my new coldplugging scripts (and hotplug-related udev rules). The plan is to generate at boot time a set of synthesized hotplug events which are as similar as possible as the ones which would be captured in the initramfs by udeveventrecorder. The implementation is an init script which will run the /etc/hotplug/*.rc shell scripts. Each one which will synthesize the events (I expect there are less than 70 on a typical system) and dump them to files in /dev/.events/. Then the init script will use udevinitsend to feed the events to udevd, which will use a few RUN rules to load the relevant modules or user space scripts. Even if implemented in shell the scripts appear to be very fast, so I doubt that this will create performance issues. -- ciao, Marco ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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