Re: Can LUKS be used on a tmpfs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Simply short: No.

tmpfs is, as the name suggests, a filesystem, which lives in the VFS domain, whereas dmcrypt lives in the block layer.

So yes, ramdisks in the form of blockdevices will work. It might even possibly work on a file within the tmpfs. (Give is a try [there's still loopback devices..], afterall it's all volatile memory and fiddling around does not need any extra work)

Regards

-Sven


Am 23.12.2015 um 20:05 schrieb H McCurdy:
Hi,

Is it possible to get crypt_init() to use a tmpfs instead of a block
device or a file?

I realize there are sanity issues related to such an inquiry because the
key is in RAM and so is the "disk."  Regardless, I have the question.

BTW, an older ramdisk (/dev/ram0) does appear to work.

Hugh


_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt



[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux