xsprite@bigfoot.com writes:
Something like this worked for me:
# dd if=/dev/urandom of=/mycfs bs=1m count=$size
This worked OK.
# modprobe $cipher # losetup -e $cipher /dev/loop0 /mycfs (prompts for key) (add more layers here if needed - by incrementing the loop device and using the previous loop device as the second parameter..)
I failed here. I was trying to do /usr. Why are you looking at me funny? ;-)
Remember kids, root, dd and your valuable file systems may not be a happy mix. Only go there if you really know what you're doing.