Fixed tombsize_4k

This commit is contained in:
mancausoft 2011-05-10 15:44:03 +02:00
parent a4b4af7e68
commit 6cb3571ed9

View File

@ -322,7 +322,7 @@ create_tomb() {
tombsize=${SIZE}
fi
tombsize_4k=`expr $tombsize \* 1000 / 4`
tombsize_4k=`expr $tombsize \* 1024 / 4`
act "Generating ${tombfile} of ${tombsize}Mb (${tombsize_4k} blocks of 4Kb)"
$DD if=/dev/urandom bs=4k count=${tombsize_4k} of=${tombdir}/${tombfile}