"Otis Gospodnetic" <[EMAIL PROTECTED]> writes:
> >> 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 [?].
> >
> > -- 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?
no.
> I'm asking because I have a piece of commercial (i.e. non-recompilable)
> software that I run on Linux and I'm wondering if it will be able to handle
> >2GB files 'automatically' when Linux on x86 starts supporting >GB files or
> if I would have to recompile this software in order to give it the ability
> to handle large files?
libc cannot suddenly change calls involving int/long (32 bits) to long
long (64 bits) without of a recompile. and if the software stores
offsets and such in 32 bit ints, how will there be room for a 64 bit
int? it's not completely trivial.
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]