commit 6cb3571ed941b1bdd1160e4f76b4db46fad5c63e
parent a4b4af7e68f388b55c9afeaeeec04eebda91572e
Author: mancausoft <andreamilazzo@mancausoft.org>
Date: Tue, 10 May 2011 15:44:03 +0200
Fixed tombsize_4k
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tomb b/src/tomb
@@ -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}