On Sun, Nov 14, 1999 at 11:12:33PM -0500, Otis Gospodnetic wrote:
> >> May be a little off-topic, but does anybody use or know a patch to
> >> linux that can make it handle files larger then 2GB?
> > yes, the latest 2.3 kernels have large file support (LFS) integrated:
> >
> > moon:> ls -l bigfile
> > -rw-rw-r--   1 mingo    mingo    4033439744 Nov 14 01:58 bigfile
> >
> > this is a 4GB file on ext2fs with 2.3.28 on x86. There are still some
> > system calls missing AFAIK (eg. lstat64(), mmap64()), but basically the
> > main limitation (the page cache) has been fixed. The maximum file size
> > limit on ext2fs right now is around 16TB [?].

        Page-cache size limit at ia32 is now 4kB * 4G (16 TB).
        Block-devices still have 0.5kB * 4G (2 TB - 1TB with sign)
        maximum size limit, thus EXT2 volume cannot exceed 2TB,
        possibly they cannot exceed 1TB..

        There are many other things missing, than just syscalls,
        but Linus has been distracted to play with a toy-project
        of the week...

> > -- mingo
> 
> This is good news for me :)
> 
> One question though:
> Once the LFS is integrated in the kernel will old precompiled binaries be
> able to handle >2GB files?

        It depends on which glibc version they are compiled against.
        If they are against glibc-2.0 (libc-6.0), then PERHAPS.
        If they are against anything older, very likely *no*.

        See the Rationales and Notices (from A.1 onwards) on:
          http://www.sas.com/standards/large.file/

> Thanks,
> Otis

/Matti Aarnio <[EMAIL PROTECTED]>
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to