[ltp] Suspend with crypted swap?
U Kuehn
linux-thinkpad@linux-thinkpad.org
Wed, 05 Sep 2007 16:10:42 +0200
Daniel Maier wrote:
>
> Once again:
> Debian does handle all this stuff. There is absolutly no need to
> fiddle with customized initramdisks.
> Just make sure /etc/crypttab matches your configuration and run
> update-initramfs. The generated initrd is able to setup both
> dm-crypt and lvm and also resuming from crypted swap without any
> resume= commandline parameters.
>
Does it support tux-on-ice aka suspend2?
>> In my /boot/grub/grub.conf, I pass these arguments to the kernel:
>> kernel /vmlinuz root=/dev/hda6 swap=/dev/hda5 resume2=/dev/mapper/swap
>> video=radeonfb:force_sleep=1
>
> Is there any reason for having / plain but using crypted swap?
>
Yes there is! Any secrets that you keep in kernel will be written to
swap during suspend-to-disk. Do you want to have it there in clear?
Regards,
Ulrich