lkml.org 
[lkml]   [2004]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ftruncate64
Chris Wedgwood wrote:
> On Thu, Feb 26, 2004 at 05:23:10AM +0600, Anton Petrusevich wrote:
>
>
>>ftruncate64(1, 2199023255552) = -1 EFBIG (File too large)
>
>
> Depends on your fs, some fs's will allow you to create much larger
> files that others:
>
> cw@pain:~$ truncate -c -s100t big-file
> cw@pain:~$ ls -lh big-file
> -rw-r--r-- 1 cw cw 100T Mar 3 02:05 big-file
>
>
> Note, you might need a 64-bit system to be able to write to all of
> that because the index into the buffer-cache is an unsigned long. For
> me on my notebook I can't write past 8T.

If that's an issue I want a laptop like yours! Disk size aside, writing
8T would take longer than the MTBF of both the disk and the owner :-(
-
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-03-22 14:01    [W:0.025 / U:3.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site