
9 May
2003
9 May
'03
1:26 p.m.
William Lee Irwin III
if (!(filp->f_flags & O_LARGEFILE) && inode->i_size > MAX_NON_LFS) return -EFBIG;
What does strace(1) say it's doing?
It says open("big_file", O_RDONLY|O_NONBLOCK|O_NOCTTY) = -1 EFBIG (File too large) So it sounds like this is right on the money. (Even if the comment you included is wrong, this applies with O_RDONLY, too) -kzm -- If I haven't seen further, it is by standing in the footprints of giants