Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mm5xx-0001By-38 for mharc-grub-devel@gnu.org; Fri, 11 Sep 2009 09:15:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mm5xu-0001Bh-Vo for grub-devel@gnu.org; Fri, 11 Sep 2009 09:15:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mm5xp-0001B3-1a for grub-devel@gnu.org; Fri, 11 Sep 2009 09:15:01 -0400 Received: from [199.232.76.173] (port=45396 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mm5xo-0001B0-SO for grub-devel@gnu.org; Fri, 11 Sep 2009 09:14:56 -0400 Received: from xvm-190-8.ghst.net ([217.70.190.8]:53983 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mm5xo-0004VR-Fa for grub-devel@gnu.org; Fri, 11 Sep 2009 09:14:56 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1Mm5xl-0001a9-Ne; Fri, 11 Sep 2009 15:14:54 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1Mm5xl-00024f-45; Fri, 11 Sep 2009 15:14:53 +0200 Date: Fri, 11 Sep 2009 15:14:53 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090911131453.GB7959@thorin> References: <20090910163914.GB13423@riva.ucam.org> <20090910191754.GD18736@thorin> <20090910192444.GC13423@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090910192444.GC13423@riva.ucam.org> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Agostino Russo Subject: Re: [PATCH] 64-bit file sizes in NTFS 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: Fri, 11 Sep 2009 13:15:03 -0000 On Thu, Sep 10, 2009 at 08:24:44PM +0100, Colin Watson wrote: > On Thu, Sep 10, 2009 at 09:17:54PM +0200, Robert Millan wrote: > > On Thu, Sep 10, 2009 at 05:39:14PM +0100, Colin Watson wrote: > > > Index: include/grub/ntfs.h > > > =================================================================== > > > --- include/grub/ntfs.h (revision 2584) > > > +++ include/grub/ntfs.h (working copy) > > > @@ -133,7 +133,7 @@ struct grub_fshelp_node > > > { > > > struct grub_ntfs_data *data; > > > char *buf; > > > - grub_uint32_t size; > > > + grub_uint64_t size; > > > grub_uint32_t ino; > > > int inode_read; > > > struct grub_ntfs_attr attr; > > > > Would this change offsets in subsequent struct fields? (I notice it's not > > packed, but I always forget the alignment rules...) > > It probably would, but I don't think anything cares, does it? This data > structure is purely internal - it isn't read from disk in a way that > expects structures to line up. Oh, right. I thought it was some NTFS structure. You can commit this. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."