Last Updated: February 25, 2016
·
2.81K
· devopstom

Quickly create sparse file in Linux

dd if=/dev/zero of=MY_FILE count=0 bs=1G seek=100

is quicker than

dd if=/dev/zero of=MY_FILE count=100 bs=1G

because it doesn't write to every block in between.