Re: [PATCH] 64-bit file sizes in NTFS

2009-09-11 Thread Robert Millan
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 === ---

Re: [PATCH] 64-bit file sizes in NTFS

2009-09-11 Thread Colin Watson
On Fri, Sep 11, 2009 at 03:14:53PM +0200, Robert Millan wrote: On Thu, Sep 10, 2009 at 08:24:44PM +0100, Colin Watson wrote: 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

[PATCH] 64-bit file sizes in NTFS

2009-09-10 Thread Colin Watson
NTFS non-resident files (i.e. ones for which pa[8] is true) may have 64-bit sizes. This patch updates GRUB's NTFS driver to understand this. (I ran into this when helping out one of the Wubi developers who was trying to use 'loopback' to look inside an ext3 filesystem image stored on an NTFS

Re: [PATCH] 64-bit file sizes in NTFS

2009-09-10 Thread Robert Millan
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

Re: [PATCH] 64-bit file sizes in NTFS

2009-09-10 Thread Colin Watson
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