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
c41911a7c5
commit
e68ab4fbc9
@ -127,9 +127,9 @@ if [ "$ALLOCATE" != "Z" ]; then
|
||||
else
|
||||
|
||||
GB=$(( (SYSTEM_SIZE + 1073741823)/1073741824 ))
|
||||
echo "Install: Writing ${GB} GB of zeroes, please wait.."
|
||||
echo "Install: Filling ${GB} GB of space, please wait.."
|
||||
|
||||
dd if=/dev/zero 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 > /dev/null
|
||||
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user