I've got the command from this howto (http://forums.gentoo.org/viewtopic.php?t=163762).
It worked for a year, but now I get: "Command failed: Invalid argument".
What do I have to change?
Something with cryptsetup seems to have changed, but I don't even find a manpage...
This is the whole script for mounting:
Code: Select all
# !/bin/bash
/sbin/modprobe loop
/sbin/losetup /dev/loop0 /home/vault
/sbin/modprobe dm_crypt
/usr/bin/cryptsetup create secret /dev/loop0
/bin/mount /mnt/vault



