This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
linux:filesystems:crypto_raid [2016/05/13 23:59] tkilla [btrfs on top of luks] |
linux:filesystems:crypto_raid [2016/06/20 22:22] (current) tkilla [CryptFile] |
||
---|---|---|---|
Line 259: | Line 259: | ||
create a file full of random data, setup loop device, luksFormat & format | create a file full of random data, setup loop device, luksFormat & format | ||
| | ||
- | dd if=/ | + | dd if=/ |
- | losetup /dev/loop32 cryptfile | + | losetup / |
cryptsetup luksFormat /dev/loop32 | cryptsetup luksFormat /dev/loop32 | ||
cryptsetup luksOpen /dev/loop32 cryptfs | cryptsetup luksOpen /dev/loop32 cryptfs |