fallocate

May 22, 2015 ยท View on GitHub

Make a file with given size.

Marks its contents as uninitialized:

fallocate -l 1k file

TODO is the value of uninitialized blocks specified?

cat file

Also the name of the corresponding x86 system call.

Only certain filesystems support it, in particular ext4 but not ext3.