On Wed, Feb 06, 2008 at 11:33:16AM -0500, Josh Grosse wrote:
> On Wed, 6 Feb 2008 08:54:07 -0700, Darrin Chandler wrote
> > On Tue, Feb 05, 2008 at 08:30:00PM -0500, Josh Grosse wrote:
> > > ntfs_readattr: offset too big: 595591168 (595656704) > 595634176
> >                                                          ^^^^^^^^^
> >                                                              |
> > Would this be (file_size & 0xffffffff) by chance?  ----------+
> 
> The file size was 4,890,601,472 bytes.  

$ moo 4890601472 \& 0xffffffff
0x2380a800      595634176

So it seems the size (at least at some point) in ntfs code is 32-bit,
and higher bits are lost. I don't have any ntfs kernels (don't normally
use it), and I can't be bothered to rebuild and track it down just now.
;-)

-- 
Darrin Chandler            |  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/      |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation

Reply via email to