Hide geli warnings about sector size beeing bigger than the page size when
doing regression testing.
This commit is contained in:
parent
4960b2adf0
commit
53c0785606
@ -24,7 +24,7 @@ for cipher in aes:0 aes:128 aes:192 aes:256 \
|
||||
|
||||
dd if=/dev/random of=${keyfile} bs=512 count=16 >/dev/null 2>&1
|
||||
|
||||
geli init -a $aalgo -e $ealgo -l $keylen -P -K $keyfile -s $secsize md${no}
|
||||
geli init -a $aalgo -e $ealgo -l $keylen -P -K $keyfile -s $secsize md${no} 2>/dev/null
|
||||
geli attach -p -k $keyfile md${no}
|
||||
|
||||
secs=`diskinfo /dev/md${no}.eli | awk '{print $4}'`
|
||||
|
@ -23,7 +23,7 @@ for cipher in aes:0 aes:128 aes:192 aes:256 \
|
||||
|
||||
dd if=/dev/random of=${keyfile} bs=512 count=16 >/dev/null 2>&1
|
||||
|
||||
geli init -e $ealgo -l $keylen -P -K $keyfile -s $secsize md${no}
|
||||
geli init -e $ealgo -l $keylen -P -K $keyfile -s $secsize md${no} 2>/dev/null
|
||||
geli attach -p -k $keyfile md${no}
|
||||
|
||||
secs=`diskinfo /dev/md${no}.eli | awk '{print $4}'`
|
||||
|
@ -25,7 +25,7 @@ for cipher in aes:0 aes:128 aes:192 aes:256 \
|
||||
|
||||
dd if=/dev/random of=${keyfile} bs=512 count=16 >/dev/null 2>&1
|
||||
|
||||
geli init -a $aalgo -e $ealgo -l $keylen -P -K $keyfile -s $secsize md${no}
|
||||
geli init -a $aalgo -e $ealgo -l $keylen -P -K $keyfile -s $secsize md${no} 2>/dev/null
|
||||
geli attach -p -k $keyfile md${no}
|
||||
|
||||
dd if=/dev/random of=/dev/md${no}.eli bs=${secsize} count=1 >/dev/null 2>&1
|
||||
|
@ -24,7 +24,7 @@ for cipher in aes:0 aes:128 aes:192 aes:256 \
|
||||
|
||||
dd if=/dev/random of=${keyfile} bs=512 count=16 >/dev/null 2>&1
|
||||
|
||||
geli init -a $aalgo -e $ealgo -l $keylen -P -K $keyfile -s $secsize md${no}
|
||||
geli init -a $aalgo -e $ealgo -l $keylen -P -K $keyfile -s $secsize md${no} 2>/dev/null
|
||||
geli attach -p -k $keyfile md${no}
|
||||
|
||||
dd if=/dev/random of=/dev/md${no}.eli bs=${secsize} count=1 >/dev/null 2>&1
|
||||
|
@ -24,7 +24,7 @@ for cipher in aes:0 aes:128 aes:192 aes:256 \
|
||||
|
||||
dd if=/dev/random of=${keyfile} bs=512 count=16 >/dev/null 2>&1
|
||||
|
||||
geli init -a $aalgo -e $ealgo -l $keylen -P -K $keyfile -s $secsize md${no}
|
||||
geli init -a $aalgo -e $ealgo -l $keylen -P -K $keyfile -s $secsize md${no} 2>/dev/null
|
||||
geli attach -p -k $keyfile md${no}
|
||||
|
||||
dd if=/dev/random of=/dev/md${no}.eli bs=${secsize} count=1 >/dev/null 2>&1
|
||||
|
@ -21,7 +21,7 @@ for cipher in aes:0 aes:128 aes:192 aes:256 \
|
||||
rnd=`mktemp /tmp/$base.XXXXXX` || exit 1
|
||||
mdconfig -a -t malloc -s `expr $secsize \* $sectors + 512`b -u $no || exit 1
|
||||
|
||||
geli onetime -a $aalgo -e $ealgo -l $keylen -s $secsize md${no}
|
||||
geli onetime -a $aalgo -e $ealgo -l $keylen -s $secsize md${no} 2>/dev/null
|
||||
|
||||
secs=`diskinfo /dev/md${no}.eli | awk '{print $4}'`
|
||||
|
||||
|
@ -20,7 +20,7 @@ for cipher in aes:0 aes:128 aes:192 aes:256 \
|
||||
rnd=`mktemp /tmp/$base.XXXXXX` || exit 1
|
||||
mdconfig -a -t malloc -s `expr $secsize \* $sectors`b -u $no || exit 1
|
||||
|
||||
geli onetime -e $ealgo -l $keylen -s $secsize md${no}
|
||||
geli onetime -e $ealgo -l $keylen -s $secsize md${no} 2>/dev/null
|
||||
|
||||
secs=`diskinfo /dev/md${no}.eli | awk '{print $4}'`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user