Write random

This commit is contained in:
Kroese 2023-04-19 05:22:28 +02:00 committed by GitHub
parent 4f4d3b0144
commit 29720e8e06

View File

@ -127,9 +127,9 @@ if [ "$ALLOCATE" != "Z" ]; then
else
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