This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
natrinicle
/
schnippets
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
It's a type of Planche
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19
Commits
1
Branch
Tree:
76a11e96cc
master
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from '76a11e96cc'
${ noResults }
schnippets
/
truncate_create_sparse_file
truncate_create_sparse_file
64B
Raw
Normal View
History
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.
6 years ago
1
2
# Create a sparse file using truncate
truncate -s 100G file.img