mirror of git://git.2f30.org/morpheus.git
Use fallocate to create the img file instead of dd
This is *much* faster.
This commit is contained in:
parent
606ac31402
commit
68a54b61f2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue