Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LXBL7-0000fu-Gm for mharc-grub-devel@gnu.org; Wed, 11 Feb 2009 04:25:05 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXBL5-0000fC-NS for grub-devel@gnu.org; Wed, 11 Feb 2009 04:25:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXBL4-0000eW-K3 for grub-devel@gnu.org; Wed, 11 Feb 2009 04:25:03 -0500 Received: from [199.232.76.173] (port=50029 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXBL4-0000eM-Dy for grub-devel@gnu.org; Wed, 11 Feb 2009 04:25:02 -0500 Received: from darkcity.gna.ch ([195.226.6.51]:57003 helo=mail.gna.ch) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXBL4-00007F-3x for grub-devel@gnu.org; Wed, 11 Feb 2009 04:25:02 -0500 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id F0046CC8BA; Wed, 11 Feb 2009 10:25:00 +0100 (CET) X-Virus-Scanned: amavisd-new at gna.ch Received: from mail.gna.ch ([127.0.0.1]) by localhost (gna.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MWFDG5bq0nsE; Wed, 11 Feb 2009 10:25:00 +0100 (CET) Received: from thor.local (217-162-255-249.dclient.hispeed.ch [217.162.255.249]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTPSA id 6E9A1CC421; Wed, 11 Feb 2009 10:24:59 +0100 (CET) Received: from daenzer by thor.local with local (Exim 4.69) (envelope-from ) id 1LXBL0-0006Xe-S5; Wed, 11 Feb 2009 10:24:58 +0100 From: Michel =?ISO-8859-1?Q?D=E4nzer?= To: Robert Millan In-Reply-To: <20090210144733.GC25305@thorin> References: <1233040781.5108.98.camel@thor.local> <20090207194859.GC988@thorin> <20090207233836.1yh2s7te1ccgo0wc-cebfxv@webmail.spamcop.net> <1234259695.5081.680.camel@thor.local> <20090210144733.GC25305@thorin> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 11 Feb 2009 10:24:57 +0100 Message-Id: <1234344297.5081.849.camel@thor.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: The development of GRUB 2 Subject: Re: hfs patch (Re: State of GRUB on PowerPC) 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, 11 Feb 2009 09:25:03 -0000 On Tue, 2009-02-10 at 15:47 +0100, Robert Millan wrote: > On Tue, Feb 10, 2009 at 10:54:55AM +0100, Michel D=C3=A4nzer wrote: >=20 > > > Michel may know better, but I think it's the order of characters. =20 > > > Those with the lower order go first in the sorted binary tree. Those= =20 > > > with the same order are equivalent on the filesystem level. That is,= =20 > > > "foo" can only be between "bar" and "quux" in the node tree. "foo" =20 > > > and "Foo" are the same tree node and thus the same file. > >=20 > > I think that's a nice summary, thanks. >=20 > Ok. There's a pair of things that need to be cleaned up though. If I > understand correctly, the definition of caseorder[i] is such that given t= oo > distinct values of i, it can be used to sort them (if this is so, I think > it should be explicitly mentioned in the comment). Yes, for a given filename character value i, caseorder[i] is the corresponding B-tree sort order. > So if the table is basicaly storing values that enumerate something, why = are > we using hex to represent them? Hex gives the impression they're an opaq= ue > sort of thing, like code, bitmasks or magic numbers. Your guess is as good as mine. > The reference to "the Macintosh" is a bit confusing, it usually means a > computer, or an OS. I assume it refers to HFS? Yes. I think HFS used to be 'the Macintosh filesystem' before OS X. > We'd also need to know what are these "'casefold' and 'order' tables from > ARDI's code", and what exactly means this is a "composition" of them. Your guess is as good as mine. --=20 Earthling Michel D=C3=A4nzer | http://www.vmware.c= om Libre software enthusiast | Debian, X and DRI developer