Commit 5a94cff9 authored by Ondrej Kozina's avatar Ondrej Kozina Committed by Milan Broz

Do not fail device-test with larger LUKS2 header.

parent d704e87e
......@@ -57,7 +57,7 @@ function dm_crypt_features()
format() # format
dd if=/dev/zero of=$DEV bs=1M count=5 >/dev/null 2>&1
dd if=/dev/zero of=$DEV bs=1M count=9 >/dev/null 2>&1
echo $PWD1 | $CRYPTSETUP luksFormat --type $1 $DEV -q $FAST_PBKDF_OPT -c aes-cbc-essiv:sha256
[ $? -ne 0 ] && fail "Format failed."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment