Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KJAZ2-0007fL-BV for mharc-grub-devel@gnu.org; Wed, 16 Jul 2008 13:13:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJAZ1-0007eG-2o for grub-devel@gnu.org; Wed, 16 Jul 2008 13:13:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJAYz-0007cd-1q for grub-devel@gnu.org; Wed, 16 Jul 2008 13:13:14 -0400 Received: from [199.232.76.173] (port=53211 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJAYy-0007cY-Pb for grub-devel@gnu.org; Wed, 16 Jul 2008 13:13:12 -0400 Received: from moutng.kundenserver.de ([212.227.126.177]:49829) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJAYy-0003hC-LN for grub-devel@gnu.org; Wed, 16 Jul 2008 13:13:12 -0400 Received: from fz (e180023049.adsl.alicedsl.de [85.180.23.49]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1KJAYx1mc7-0000YB; Wed, 16 Jul 2008 19:13:11 +0200 Message-ID: From: "Felix Zielcke" To: "The development of GRUB 2" References: <20080702142245.GA21064@thorin><1215027160.9353.125.camel@localhost> <20080703140211.GA19341@thorin><1215104875.8123.23.camel@localhost> <20080704000829.GE4074@thorin><1215135163.26019.44.camel@localhost> <20080704142125.GC2663@thorin><1215182702.26019.130.camel@localhost> <20080704185723.GB32625@thorin><1215204095.26019.142.camel@localhost> <20080705120757.GA1647@thorin><1215282973.26019.183.camel@localhost><1216220945.13612.13.camel@localhost> <1216226289.13612.38.camel@localhost> Date: Wed, 16 Jul 2008 19:13:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 12.0.1606 X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606 X-Provags-ID: V01U2FsdGVkX18bDyDxX3hfBWAjUzKNALaZ22Ag2B8mLNgRY45 vP2H7DqQS9WrlLAy4b/uVopYJtlwyUNPdGTOnm4zx6BRX8B1w3 hoHAY6ruF+x5HnsUSajfQKbFZJoxkq0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) Subject: Re: grub-probe detects ext4 wronly as ext2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Wed, 16 Jul 2008 17:13:15 -0000 From: "JavierMartín" Sent: Wednesday, July 16, 2008 6:38 PM To: "The development of GRUB 2" Subject: Re: grub-probe detects ext4 wronly as ext2 > Er... of course, the Linux extN implementation is the de-facto > reference > implementation. Some incompat features are only used in newer versions > like ext3 and ext4, while others are added to ext2 too. I was talking > about the GRUB extN driver, which recently got patched by Bean. I thought you thought that META_BG is ext4 specific, but even ext2 supports it Anyway I just grepped for META_BG in the e2fsprogs 1.41 source and mke2fs.c says that resize_inode and meta_bg are not compatible resize_inode is by default enabled. I have it disabled on my ext4, because I just don't need it but I don't think this means meta_bg is enabled. So for me it looks like there's no need to worry about meta_bg Maybe I'll find something about that > Uninit_bg is signaled (iIrc) in the superblock by a ROCOMPAT flag, > GDT_CSUM, and then in the block groups by whatever-it-is (head spinning > even faster). Oh well, I gave you a link to ext4.h and I even didn't notice there's really no UNINIT flag in the 3 lists of compat,incompat and rocompat I grepped e2fsprogs source for it You're right it is uninit_bg "is" the ROCOMPAT flag GDT_CSUM > AFAIK, uninit_bg should work if the (readonly) GRUB reader respects the > spec and skips "invalid" block groups/inodes/whatever (those that > haven't been initialized). As I don't know what the f*** do META_BG and > FLEX_BG do, I can't tell you whether they truly work or it's just a > matter of luck: it's Bean who can tell us whether or not he implemented > support for them - Yeah, Bean has to tell you. I only looked a few secons at the differences between his 2 patches which made my ext4 working and even if I would have read it longer, I didn't think I would fully understand it :) At [0] there's a mail from me on this list, with 2 quotes from Documentation/ext4.txt and what mke2fs(8) says about it and a quote of Bean what he found about flex_bg >I only added the "extents" flag to the supported > list > on my patch, but including more is a matter of seconds. Yeah, I just wanted to make sure that uninit_bg and flex_bg don't get forgot, and then I forget this, install the debian package and then end up on a unbootable system :) But even if that happens, it's not a big problem for me now. Currently I only use ext4 in VMware [0] http://lists.gnu.org/archive/html/grub-devel/2008-07/msg00157.html