mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-05 04:47:56 +00:00
Fixed tombsize_4k
This commit is contained in:
parent
a4b4af7e68
commit
6cb3571ed9
2
src/tomb
2
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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user