Re: 2G file size limitation question

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
12 Jan 1998 13:03:51 +0100


Matti Aarnio <matti.aarnio@tele.fi> writes:

|> Chip Salzenberg wrote:
|>> According to Theodore Y. Ts'o:
|>> > If the VFS layer can handle 64-bits, we can make the ext2 structure
|>> > handle 64-bits.
|>>
|>> I wasn't going to say anything, but: I'm currently working on making
|>> the VFS and paging code handle files larger than 2G. So if anyone
|>> else has in mind to do this, please talk to me and/or wait for me to
|>> do the hard work. :-)

|> Fine, but at least with EXT2, once the VFS is 64-bit, there
|> appears a surprise from rlimit data, which is defined as
|> "long", that is, signed 32-bits with 32-bit machines...

You should take a look at the LFS support in glibc 2.1. There are 64 bit
variants of every syscall that is effected. They just need to be
implemented in the kernel.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org