On Wed, Mar 11, 2009 at 05:37:14PM +0200, Alexey Suslikov wrote:
> The limitation is 2Gb on 32-bit platforms because of off_t (man lseek).

huh?

[gra...@nohead tmp]$ cat x.c  
#include <sys/types.h>
#include <stdio.h>

int main(void)
{
        printf("size of off_t is %u bits\n", 8 * sizeof(off_t));
}
[gra...@nohead tmp]$ cc x.c   
[gra...@nohead tmp]$ ./a.out                                                   
size of off_t is 64 bits
[gra...@nohead tmp]$ arch -s  
i386

> 
> Stock ftpd also has mentioned limitation (try to REST a file beyond 2Gb
> offset).
> 
> Using any 64-bit platform will solve the problem due to bigger off_t, but
> if it's not a case, one can use Apache 2.2.x from ports.
> 
> Alexey

-- 
   Alexander Yurchenko

Reply via email to