lkml.org 
[lkml]   [1998]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 1GB limit - new filesystem or ext3?
From
Date
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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.047 / U:3.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site