ftruncate64
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Chris Wedgwood
Quoted 1 line · Anton Petrusevich
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:
Quoted 8 lines
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-fileNote, 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 :-(