Re: 2.4 and 2G File Limit?
Jamie Lokier (lk@tantalophile.demon.co.uk)
Fri, 9 Jun 2000 22:55:13 +0200
David Lombard wrote:
> > 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
See for example the GNU fileutils... On Red Hat 6.2 those utilities
already work in 64 bits. Actually I think anything that uses GNU
Autoconf will automatically do that now.
-- Jamie
-
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/