1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-16 08:28:35 +00:00

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

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