Messages in this thread | | | Date | Fri, 7 May 2004 12:01:42 +0200 | From | Erik Mouw <> | Subject | Re: 2Gb file size limit on 2.4.24, LVM and ext3? |
| |
On Thu, May 06, 2004 at 10:11:06PM +0100, Grzegorz Piotr Jaskiewicz wrote: > Niccolo Rigacci wrote: > >- The partition is an ext3 over LVM, kernel 2.4.24. Debian Woody > > (glibc-2.2.5-11.5). Pentium 4 2.80GHz. > > > > > Ooops, sorry ;) can see it now. > afair you need at least 2.3 for large files. But I am not 100% sure.
No, glibc-2.2.5-11.5 will also do large files. Just be sure that you open() the file with O_LARGEFILE. I usually have this piece of code in one of my header files to get it done:
#ifndef O_LARGEFILE #define O_LARGEFILE 0100000 #endif
I always forget about the glibc #define-du-jour to get O_LARGEFILE defined, this always works.
Erik
-- +-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 -- | Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |