Re: 2.4 and 2G File Limit?

David Lombard (david.lombard@mscsoftware.com)
Fri, 09 Jun 2000 07:10:45 -0700


"Albert D. Cahalan" wrote:
>
>
> LFS is a joke. Without an LP64 compilation environment, there is
> just no hope of getting a complete system with large file support.

LFS provides a fully functional 64-bit file capability for an ILP32
system. I've been using it for years...

> What are we supposed to do, declare plain open() obsolete?

LFS is fully usable with "plain open()" -- add O_LARGEFILE and use
lseek64(), truncate64(), fstat64(), fcntl64(), et al.

If that's unacceptable, you can also compile with _D_LARGEFILE64_SOURCE
and use your existing code, assuming you've used the documented opaque
types and have made sure your data structures and algorithms are correct
for terabyte files.

> IMHO the Alpha is the only sane answer.

That is *an* answer. So is Itanium. So is LFS, speaking from actual
production experience, that is.

-- 
David N. Lombard
MSC.Software

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/