Use fallocate to create the img file instead of dd

This is *much* faster.
This commit is contained in:
sin 2014-03-15 14:27:13 +00:00
parent 606ac31402
commit 68a54b61f2

View File

@ -13,7 +13,7 @@ root=$1
img=$2
mnt="/mnt/morpheus"
dd if=/dev/zero of=$img bs=512M count=4
fallocate -l 2G $img
(
cat << EOF
o