[RndTbl] Maximum file size?

John Lange john.lange at bighostbox.com
Mon Jul 19 11:13:02 CDT 2004

Thank you Michael.

A posting I found from May 2003 indicates that applications need to be
compiled with LFS API support for files larger than 2G.

"Using the LFS API is pretty straightforward; it can be as simple as
adding -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE to the C compiler
options and recompiling."

So I assume this is:

Does anyone know if this tip also applies when compiling the kernel
itself or just to applications?

Is there a way to set this as a default option for all compiles so that
I don't have to remember every time I compile something?

And finally, is there a way to see if a binary has been compiled with
LFS? Something like "ldd" perhaps?



On Mon, 2004-07-19 at 05:54, Michael J. Dikkema wrote:
> On Mon, 19 Jul 2004, John Lange wrote:
> > I'm running ext3 under linux 2.6.x.
> >
> > By default, what is the maximum file size? Where is this adjusted? I
> > can't find it in the kernel config so is it a /proc setting?
> >
> 2 TB with 4k blocks.
> I don't believe this is adjustable.
> ---
> Michael J. Dikkema, CCNP, CCIP
> Senior Systems Engineer - Qanda Networks
> mjd at moot.ca
> _______________________________________________
> Roundtable mailing list
> Roundtable at muug.mb.ca
> http://www.muug.mb.ca/mailman/listinfo/roundtable

More information about the Roundtable mailing list