Re: files > 2GB

From: Jakub Jelinek (jakub@redhat.com)
Date: Tue Jan 25 2000 - 07:42:01 EST


> All is not that simple. How NOT RECOMPILED programs should deal with such
> files ? cp, file, etc ? "Recompile all programs with -D_FILE_OFFSET_BITS=64"
> is not good answer IMO: why we need new syscalls and so on if we can just
> enlarge stuctures in existing ones and let everyone recompile the whole system ?

By means of SIGXFSZ and EFBIG.
This is all implemented in Ben LaHaise's LFS patch, which partly made it
into 2.3 and parts are still to be applied.

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.41 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________

-
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 : Mon Jan 31 2000 - 21:00:14 EST