Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1BbOqL-0003ip-3q for mharc-grub-devel@gnu.org; Fri, 18 Jun 2004 15:16:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BbOqJ-0003hR-44 for grub-devel@gnu.org; Fri, 18 Jun 2004 15:16:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BbOqG-0003gS-W1 for grub-devel@gnu.org; Fri, 18 Jun 2004 15:16:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BbOqG-0003gP-SV for grub-devel@gnu.org; Fri, 18 Jun 2004 15:16:00 -0400 Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BbOod-0004QL-D2 for grub-devel@gnu.org; Fri, 18 Jun 2004 15:14:19 -0400 Received: from [195.113.31.125] (helo=artax.karlin.mff.cuni.cz) by mx20.gnu.org with esmtp (Exim 4.34) id 1BbOoY-00040z-90 for grub-devel@gnu.org; Fri, 18 Jun 2004 15:14:14 -0400 Received: by artax.karlin.mff.cuni.cz (Postfix, from userid 17122) id BA2174280; Fri, 18 Jun 2004 21:14:11 +0200 (CEST) Date: Fri, 18 Jun 2004 21:14:11 +0200 To: The development of GRUB 2 Message-ID: <20040618191411.GA30179@artax.karlin.mff.cuni.cz> Mail-Followup-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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874qp9dled.fsf@marco.marco-g.com> User-Agent: Mutt/1.5.6i From: ebik@artax.karlin.mff.cuni.cz (Tomas Ebenlendr) 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 19:16:03 -0000 > 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. > ... > > What do you mean with fs-auto, unfortunately I do not understand. > An example would help. > Autoloading should not be in 'core'. normal.mod an also work without autoloading. So I want fs-auto.mod which will contain all test of filesystems which are known at compile-time. Or, when such test can be specified in some reasoable format, then fs-auto.mod should provide only a function to execute this test (nearly same code as in 'file', but simpler). We need not to determine fs exactly, we need only know that we should try to load specified module. If this works not, then it's on user to load the module (manualy or by grub.conf). The format should be something as /etc/magic (or /usr/share/misc/file/magic), but without the stuff about number of heads, sectors and so on. If 'magic' of one filesystem can be written on one line, we can have one file about autoloading as I decribed before. -- Tomas 'ebi' Ebenlendr http://get.to/ebik PF 2004.46413298801