fallocate Command Examples

Reserve or deallocate disk space to files. The utility allocates space without zeroing. More information: https://manned.org/fallocate.

fallocate {{[-l|--length]}} {{700M}} {{path/to/file}}

fallocate {{[-c|--collapse-range]}} {{[-l|--length]}} {{200M}} {{path/to/file}}

fallocate {{[-c|--collapse-range]}} {{[-o|--offset]}} {{100M}} {{[-l|--length]}} {{20M}} {{path/to/file}}