Re:Automated encrypted swapfiles
by cryptonaut on Sunday November 01, 2015 @09:30PM
(#10489619)
If you're using systemd you can do this by setting up /etc/crypttab[1] which has a similar format to fstab. For example, here's my swap line:
[1] http://www.freedesktop.org/software/systemd/man/crypttab.htm...
[ Parent
| on HN ]
Re:Automated encrypted swapfiles
by scintill76 on Monday November 02, 2015 @12:16AM
(#10490157)
FWIW it's not specific to systemd -- I've been using /etc/crypttab for full-disk encryption (LUKS) for a few years on Ubuntu. The file is consulted when building the initrd, to build in whatever magic is needed to decrypt the disks at boot.