[dm-crypt] Can LUKS be used on a tmpfs?

Milan Broz gmazyland at gmail.com
Wed Dec 23 20:39:25 CET 2015

On 12/23/2015 08:05 PM, H McCurdy wrote:
> Hi,
> Is it possible to get crypt_init() to use a tmpfs instead of a block
> device or a file?

No, dm-crypt works only over block devices (/dev/ram* are block devices as well).

You can create a file on tmpfs and use that through loopback though
(but this adds another layer there).


More information about the dm-crypt mailing list