From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Date: Fri, 19 Aug 2005 09:09:59 +0000 Subject: Re: general hotplug/udev questions Message-Id: <4305A1E7.7080006@ums.usu.ru> List-Id: References: <1124394814.4483.46.camel@rich> In-Reply-To: <1124394814.4483.46.camel@rich> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Kay Sievers wrote: >SUSE's current "event replay from initramfs" works nice so far and is >a generic way to solve the boot sequencing problems. One other option >may be to crawl /sys and submit the events to udevd instead of getting >it from initramfs. That would also work with every kernel, not only >with a special prepared initramfs. We will need to test if this >option works "good enough" - for now it only sounds like a nice >alternative. > > Do I understand correctly that the "crawl through sysfs" approach means bus-specific conversion between sysfs contents (e.g the fact that /sys/bus/usb/devices/1-1/idProduct contains "4002" here) and environment variables (in this case, PRODUCT=...)? I.e., is it just a reimplementation of old /etc/hotplug/*.rc scripts in C? -- Alexander E. Patrakov ------------------------------------------------------- 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