From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1BbJo4-0004X9-Fh for mharc-grub-devel@gnu.org; Fri, 18 Jun 2004 09:53:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BbJo3-0004X3-1b for grub-devel@gnu.org; Fri, 18 Jun 2004 09:53:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BbJo1-0004Wr-Cn for grub-devel@gnu.org; Fri, 18 Jun 2004 09:53:22 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BbJo1-0004Wo-9k for grub-devel@gnu.org; Fri, 18 Jun 2004 09:53:21 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BbJmf-0006kv-4r for grub-devel@gnu.org; Fri, 18 Jun 2004 09:51:57 -0400 Received: from localhost (charlie.han.nl [145.74.66.9]) by mail-cn.han.nl (Postfix) with ESMTP id 982E383AF for ; Fri, 18 Jun 2004 15:51:56 +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 32654-08 for ; Fri, 18 Jun 2004 15:51:52 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id EAE238105 for ; Fri, 18 Jun 2004 15:51:37 +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 865A3C050 for ; Fri, 18 Jun 2004 14:51:36 +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> From: Marco Gerards Date: Fri, 18 Jun 2004 15:51:38 +0200 In-Reply-To: <20040618120411.GA20750@artax.karlin.mff.cuni.cz> (Tomas Ebenlendr's message of "Fri, 18 Jun 2004 14:04:11 +0200") Message-ID: <874qp9dled.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 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 13:53:23 -0000 ebik@artax.karlin.mff.cuni.cz (Tomas Ebenlendr) writes: > I think every fs can be identified using some "magic". This was what i > mean by "file" like recognition pattern. Well, I know that. It is how GRUB detects the filesystem type. The problem is that the filesystem type can not be determined in a uniform way. You will have to include all tests in the core module. That removes the flexibility. Consider reiserfs. If you want to detect if this module has to be loaded, you need some reiserfs specific code to do that. But what if a user want to add another module? >> How about loading all filesystems explicitly in grub.conf? > > yes this is much simper (and with less bugs be here), but user must know > which fs he uses. But he can have comfort when booting grub from CD, not > to load every fs module by grub.conf and also not to type insmod. > (Ok, in grub.conf will be specified something like fs-auto.mod which > will implement domain 'fs' for module autoloader.) 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. What do you mean with fs-auto, unfortunately I do not understand. An example would help. Thanks, Marco