diff --git a/run/disk.sh b/run/disk.sh index 86b9c08..c296dbb 100644 --- a/run/disk.sh +++ b/run/disk.sh @@ -48,9 +48,9 @@ if [ -f "${DATA}" ]; then if [ "$ALLOCATE" = "Z" ]; then GB=$(( (REQ + 1073741823)/1073741824 )) - echo "INFO: Writing ${GB} GB of zeroes, please wait.." + echo "INFO: Writing ${GB} GB of random data, please wait.." - dd if=/dev/zero of="${DATA}" seek="${OLD_SIZE}" count="${REQ}" bs=1M iflag=count_bytes oflag=seek_bytes + dd if=/dev/urandom of="${DATA}" seek="${OLD_SIZE}" count="${REQ}" bs=1M iflag=count_bytes oflag=seek_bytes status=none else @@ -92,9 +92,9 @@ if [ ! -f "${DATA}" ]; then if [ "$ALLOCATE" = "Z" ]; then - echo "INFO: Writing ${DISK_SIZE} of zeroes, please wait.." + echo "INFO: Writing ${DISK_SIZE} of random data, please wait.." - dd if=/dev/zero of="${DATA}" count="${DATA_SIZE}" bs=1M iflag=count_bytes + dd if=/dev/urandom of="${DATA}" count="${DATA_SIZE}" bs=1M iflag=count_bytes status=none else diff --git a/run/install.sh b/run/install.sh index 0d9f806..14bb9b8 100644 --- a/run/install.sh +++ b/run/install.sh @@ -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: Writing ${GB} GB of random data, please wait.." - dd if=/dev/zero of="${SYSTEM}" count="${SYSTEM_SIZE}" bs=1M iflag=count_bytes + dd if=/dev/urandom of="${SYSTEM}" count="${SYSTEM_SIZE}" bs=1M iflag=count_bytes status=none fi