Hi, I think I've read any existing faq and guide on dm-crypt so I think I'm helpless,but I try to expose my problem anyway.
I'd like to encrypt a container with dm-crypt and this is what I have:
Slackware-11
Custom kernel 2.6.19 compiled with static dm-crypt and loop device and aes as module.
Code:
root@nowhere:~# ls -l /dev/mapper/control
crw-rw---- 1 root root 10, 63 2007-02-06 15:39 /dev/mapper/control
Code:
root@nowhere:~# dmsetup targets
crypt v1.3.0
striped v1.0.2
linear v1.0.2
error v1.0.1
Code:
root@nowhere:~# cat /proc/crypto
name : aes
driver : aes-generic
module : aes
priority : 100
refcnt : 1
type : cipher
blocksize : 16
min keysize : 16
max keysize : 32
Code:
root@nowhere:~# losetup /dev/loop0
/dev/loop0: [0804]:228891 (/home/joe/terces)
cryptsetup-0.1 is the version
---Now when I issue the command:
Code:
cryptsetup -y create terces /dev/loop0
Command failed: Invalid argument
Can you help me please understanding what's the problem.
Thx a lot in advance.