Forrest logo
back to context overview

fallocate

List of commands for fallocate:

  • fallocate:tldr:a7a1f fallocate: Shrink 20 MB of space after 100 MiB in a file.
    $ fallocate --collapse-range --offset ${100M} --length ${20M} ${filename}
    try on your machine
    explain this command
  • fallocate:tldr:b1883 fallocate: Reserve a file taking up 700 MiB of disk space.
    $ fallocate --length ${700M} ${filename}
    try on your machine
    explain this command
  • fallocate:tldr:dffe8 fallocate: Shrink an already allocated file by 200 MiB.
    $ fallocate --collapse-range --length ${200M} ${filename}
    try on your machine
    explain this command
back to context overview