mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Write random
This commit is contained in:
parent
4f4d3b0144
commit
29720e8e06
@ -127,9 +127,9 @@ if [ "$ALLOCATE" != "Z" ]; then
|
|||||||
else
|
else
|
||||||
|
|
||||||
GB=$(( (SYSTEM_SIZE + 1073741823)/1073741824 ))
|
GB=$(( (SYSTEM_SIZE + 1073741823)/1073741824 ))
|
||||||
echo "Install: Filling ${GB} GB of space, please wait.."
|
echo "Install: Writing ${GB} GB of random data, please wait.."
|
||||||
|
|
||||||
dd if=/dev/urandom of="${SYSTEM}" count="${SYSTEM_SIZE}" bs=1M iflag=count_bytes > /dev/null
|
dd if=/dev/urandom of="${SYSTEM}" count="${SYSTEM_SIZE}" bs=1M iflag=count_bytes status=none
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user