lkml.org 
[lkml]   [2000]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: files > 2GB
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.148 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site