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.
36
Commits
1
Branch
Tree:
04a80c11f3
master
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from '04a80c11f3'
${ 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