Re: 2Gb file size limit on 2.4.24, LVM and ext3?

From: Niccolo Rigacci
Date: Mon May 10 2004 - 02:44:56 EST


On Fri, May 07, 2004 at 12:01:42PM +0200, Erik Mouw wrote:
> No, glibc-2.2.5-11.5 will also do large files. Just be sure that you
> open() the file with O_LARGEFILE.


I definitively think that cp uses O_LARGEFILE. Infact if I strace
the command I can see:

open("argo_full.tar.gz", O_RDONLY|O_LARGEFILE) = 3

but the problem now is that with strace the command works OK!
What the hell that stracing works and without strace it does not
work?

--
Niccolo Rigacci
Firenze - Italy

War against Iraq? Not in my name!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/