[dm-crypt] Encrypted fs in file

doark at mail.com doark at mail.com
Sun Apr 3 06:07:22 CEST 2016


Hello,
I wanted to make certain that I got this process right since I've never
done it before and I can't seem to find docs on the subject.

1. Cat /dev/zero into a new file till it is big enough.
2. Use cryptsetup on the file (format and open).
3. Use mkfs on the loop device.
4. Mount the loop device as if it were a block device.

Does this look correct to you?

Thanks, David


More information about the dm-crypt mailing list