Re: Files > 2G on ext2 in 2.4.0?

H. Peter Anvin (hpa@zytor.com)
29 Jun 2000 14:22:22 -0700


Followup to: <u8vgysn3rg.fsf@gromit.rhein-neckar.de>
By author: Andreas Jaeger <aj@suse.de>
In newsgroup: linux.dev.kernel
>
> >>>>> Mike A Harris writes:
>
> > Does the 2.4.0 kernel support files > 2G on 32bit architectures
> > using the ext2 or any other linux supported filesystem?
>
> Yes for ext2.
>
> > Someone is wanting to make tar files > 2G in Linux ia32 on ext2
> > and it is failing. I told them it is a kernel limitation on
> > ia32, and that I'd try and find out if 2.4.0 corrects this
> > limitation.
>
> But you need to recompile your glibc (use version 2.1.3) and probably
> also tar for this.
>

Not so. I'm using glibc 2.1.2, tar 1.13.11 and gzip 1.2.4 straight
from the RedHat 6.1 distribution, and tar -z handles files > 2 GB just
fine. The only reason for this, of course, is that tar was designed
to be used with streaming media (and in this case it is even operating
on a compressed stream fed through a pipe), thus it never seeks.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

- 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/