Re: 2.4 and 2G File Limit?

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Fri Jun 09 2000 - 15:55:13 EST


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/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:19 EST