files > 2GB

Jakub Jelinek jakub en redhat.com
Mar Ene 25 16:54:47 CST 2000


> 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 en 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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda