fallocate
Reserve or deallocate disk space to files. The utility allocates space without zeroing. More information: https://manned.org/fallocate.
- Reserve a file taking up 700 MiB of disk space:
fallocate 700M
- Shrink an already allocated file by 200 MB:
fallocate 200MB
- Shrink 20 MB of space after 100 MiB in a file:
fallocate 100M 20M
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
