Re: 2G file size limitation question

linux kernel account (linker@nightshade.z.ml.org)
Mon, 12 Jan 1998 08:59:05 -0500 (EST)


On 12 Jan 1998, Andreas Schwab wrote:

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

The lfs calls would be a nice thing for 2.2, even if they hardly work and
no underlying fses support them..