Re: 1GB limit - new filesystem or ext3?

Andi Kleen (ak@muc.de)
31 Mar 1998 09:49:48 +0200


tytso@mit.edu writes:

> Date: Thu, 26 Mar 1998 22:10:33 +0000 (GMT)
> From: Alistair Riddell <alistair@watsons.edin.sch.uk>
>
> Pardon me for being ignorant, but wouldn't it be possible to use unsigned
> (i.e. 32-bit) variables instead of 31-bit? That would at least allow 4GB
> files. Or is the extra bit/sign used for something?
>
> The lseek() interface uses the sign bit for being able to do negative
> offsets from the current position of the file.

But the kernel internally uses absolute offsets [doesn't it?] - and for the
user interface there is llseek().

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu