diff --git a/filldev b/filldev index 552b412..ed0a818 100755 --- a/filldev +++ b/filldev @@ -12,11 +12,10 @@ for ARG in "$@"; do esac done -echo -n "Filling ${DVC[@]} with " -${SEC} && echo "random data" || echo "zeros" for DEV in "${DVC[@]}"; do - echo "${DEV}:" + echo -n "Filling ${DVC[@]} with " + ${SEC} && echo "random data" || echo "zeros" ${SEC} && openssl enc -aes-256-ctr -pbkdf2 -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt