From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roman Kagan Date: Tue, 22 Feb 2005 11:51:10 +0000 Subject: Re: [ANNOUNCE] yaird, a mkinitrd based on hotplug concepts Message-Id: <20050222115110.GB11284@katya> List-Id: References: <20050217210620.A20645@banaan.localdomain> In-Reply-To: <20050217210620.A20645@banaan.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, Feb 19, 2005 at 03:00:53AM +0100, Erik van Konijnenburg wrote: > - the classical method: pre-compute required modules and put only > those on the image, > - or the radical approach: put it all on the image and let hotplug > sort it out at boot time. > > - The radical approach depends on a rewrite of hotplug without shell > scripts (it's very difficult for mkinitrd to determine reliably which > executables are needed by a shell script). But this will probably be needed in your classical approach too (I mean tracking of the required executables, I don't immediately see why shell scripts are worse in this respect). BTW one more item to track the dependencies for (in case you don't have enough :) is the firmware files. You can identify which modules may need firmware by checking their dependency on firmware_class, but I see no way of knowing which firmware files they are going to request. To make it worse, firmware is the (only) kind of hotplug events which can be neither delayed (due to limited timeout) nor postponed to be replayed later on. Cheers, Roman. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ 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