Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261306AbVCHCnQ (ORCPT ); Mon, 7 Mar 2005 21:43:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261744AbVCGUwl (ORCPT ); Mon, 7 Mar 2005 15:52:41 -0500 Received: from mailer.campus.mipt.ru ([194.85.82.4]:8370 "EHLO mailer.campus.mipt.ru") by vger.kernel.org with ESMTP id S261308AbVCGUNd convert rfc822-to-8bit (ORCPT ); Mon, 7 Mar 2005 15:13:33 -0500 Cc: Fruhwirth Clemens , Herbert Xu , cryptoapi@lists.logix.cz, James Morris , David Miller , Andrew Morton , Evgeniy Polyakov Subject: [4/5] bd: script for binding file and acrypto filters In-Reply-To: <1110227859165@2ka.mipt.ru> X-Mailer: gregkh_patchbomb Date: Mon, 7 Mar 2005 23:37:39 +0300 Message-Id: <11102278591373@2ka.mipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Reply-To: Evgeniy Polyakov To: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7BIT From: Evgeniy Polyakov X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.7.5 (mailer.campus.mipt.ru [194.85.82.4]); Mon, 07 Mar 2005 23:11:25 +0300 (MSK) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 545 Lines: 21 #!/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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/