Subject: Re: Files over 2Gb?
From: Leland Wallace (randall@apple.com)
Date: Wed Nov 01 2000 - 13:56:43 EST
On Wednesday, November 1, 2000, at 04:01 AM, Russell Kerrison wrote:
> As I mentioned in an earlier post, the machine is a new G4 with OS 9.0.4.
> The local drives are formatted as HFS+ and happily handle reasonably big
> files - the biggest so far being 15Gb.
>
> Is it simply the case that the Appleshare file system is a bit dated and,
> like HFS, can't recognise files greater than 2Gb?
You are partially correct. AFP versions before 3.0 use 32-bit numbers for
file offsets and file sizes, limiting the file size to 2^31 bytes (the offsets are signed).
We are working on the AFP 3.0 protocol which adds calls to handle file
offsets/sizes of 64 bits (ie 2^63 bytes max size).
Hope this helps
Leland
+----------------------------------------------------------------------------------------------
Leland Wallace Working in AppleShare Engineering
randall@apple.com but not speaking for Apple Computer Inc.
http://www2.inow.com/~randall
+----------------------------------------------------------------------------------------------
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:32 EST