[4/5] bd: script for binding file and acrypto filters

From: Evgeniy Polyakov
Date: Mon Mar 07 2005 - 21:50:49 EST


#!/bin/sh

num=$#

if [ $num != 2 ]; then
echo "Usage: $0 device backend_file"
exit -1
fi

dev=$1
file=$2

./ubd bind dev /dev/bd0 filter acrypto cipher aes128 mode ecb priority 123 key 00000000000000000000000000000000 iv 00
#./ubd bind dev $dev filter xor
./ubd bind dev $dev filter fd file $file

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/