From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1BbOT4-0004bC-VI for mharc-grub-devel@gnu.org; Fri, 18 Jun 2004 14:52:03 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BbOT1-0004a7-Os for grub-devel@gnu.org; Fri, 18 Jun 2004 14:51:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BbOT0-0004Zo-7G for grub-devel@gnu.org; Fri, 18 Jun 2004 14:51:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BbOT0-0004Zl-62 for grub-devel@gnu.org; Fri, 18 Jun 2004 14:51:58 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BbORY-0002Ca-QK for grub-devel@gnu.org; Fri, 18 Jun 2004 14:50:29 -0400 Received: from localhost (charlie.han.nl [145.74.66.9]) by mail-cn.han.nl (Postfix) with ESMTP id 5D176890D for ; Fri, 18 Jun 2004 20:50:17 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by localhost (charlie.han.nl [145.74.66.9]) (amavisd-new, port 10024) with ESMTP id 00330-04; Fri, 18 Jun 2004 20:50:15 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 0BD39829B; Fri, 18 Jun 2004 20:50:15 +0200 (CEST) Received: from marco.marco-g.com (a82-92-27-129.adsl.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 82B5FC046; Fri, 18 Jun 2004 19:50:13 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <20040615113103.GA4639@artax.karlin.mff.cuni.cz> <87pt7zag0e.fsf@marco.marco-g.com> <20040616115034.GA20649@artax.karlin.mff.cuni.cz> <200406181245.25715.okuji@enbug.org> <87brjh5e9u.fsf@marco.marco-g.com> <20040618113824.GA17328@artax.karlin.mff.cuni.cz> <87659p5bw2.fsf@marco.marco-g.com> <20040618120411.GA20750@artax.karlin.mff.cuni.cz> <874qp9dled.fsf@marco.marco-g.com> From: Marco Gerards Date: Fri, 18 Jun 2004 20:50:15 +0200 In-Reply-To: <874qp9dled.fsf@marco.marco-g.com> (Marco Gerards's message of "Fri, 18 Jun 2004 15:51:38 +0200") Message-ID: <87brjgbt08.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new@vscan-cn.han.nl Cc: Subject: Re: Autoloading WAS: normal/cmdline bug & patch X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 18:52:00 -0000 Marco Gerards writes: > How about just loading every module that is sane for that > architecture? For example all linux specific filesystems, fat on the > PC/alpha, hfs[+] on the apple, etc. Perhaps it would be better to do this just when it is required. So whenever all loaded filesystems are scanned and the filesystem is not detected GRUB needs to load new modules. So it loads modules in a fixed order (sorted on how likely it is that the filesystem is used, perhaps). We can even make a /boot/grub/fs directory and just load the modules from there. Of course you just read the modules until you found the required module. The advantage of this approach is that you just have to load modules when there is a need for it. The bad thing is that something like `ls (hd)' will become slower. Anyway, I'd like to hear more ideas about this. I am just brainstorming. :) Thanks, Marco