Re: Filesize limit exceeded on ext3
On Fri, Nov 16, 2007 at 10:01:04AM -0800, David Brodbeck <brodbd@u.washington.edu> was heard to say:
>
> On Nov 16, 2007, at 8:12 AM, Jeff D wrote:
>> What testing suite are you using for this? Have you tried to use dd to
>> create a file larger than this? I'm going to guess what you are seeing
>> here is file size limit of the application you are using rather than ext3.
>
> I think so too. I bet this is an old bit of code, or maybe an old binary
> statically compiled against old libraries.
In particular, you want to look at calls to:
lseek
stat
truncate/ftruncate
tmpfile, fopen, freopen (they create a FILE* that doesn't support
64-bit sizes)
... FILE* versions of these.
I may have missed some, this is just from trawling the libc
documentation. In general, anything dealing with file sizes and offsets
is a possible culprit.
Daniel
Reply to: