lkml.org 
[lkml]   [2005]   [Jun]   [1]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateTue, 31 May 2005 21:10:11 -0700
FromChris Wedgwood <>
SubjectRe: 64bit filesize limit on a 32bit linux
On Tue, May 31, 2005 at 03:35:33PM -0400, Igor Schein wrote:

> # ulimit -f `echo 2^22-1|bc`;ulimit -f
> 4194303
> # ulimit -f `echo 2^22|bc`;ulimit -f
> unlimited
> # uname -r
> 2.6.11-1.1290_FC4

> I need to limit users to 5GB per file instead of 4GB.  Do I need any
> kernel patches or can it somehow be done in user space?

The syscall (and also glibc glue) for this only support 32-bit values.
It's probably not hard to make a 64-bit version of these system calls
(I'm not sure about the glibc changes though).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-01 04:13    [W:0.282 / U:0.360 seconds]
©2003-2008 Jasper Spaans