Browse Source

Adding truncate sparse file

Found the truncate command which is much easier than DD and also
creates a sparse file or resizes a sparse file larger or smaller.
master
Nate Bohman 6 years ago
parent
commit
67be523373
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      truncate_create_sparse_file

+ 2
- 0
truncate_create_sparse_file View File

# Create a sparse file using truncate
truncate -s 100G file.img

Loading…
Cancel
Save