Re: migrating crypttab to new way / luks swap problem

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



On Wed, Aug 01, 2012 at 07:09:37 -0400, Genes MailLists wrote:
> On 08/01/2012 02:00 AM, Aurko Roy wrote:
> >If you do man crypttab, there's an example for swap at the bottom. It is
> >
> >  swap /dev/sda7 /dev/urandom swap
> >
> 
> 
>    Thanks, I am aware of that, but I have luks on my swap partition
> so that won't work. I want to be prompted for a password. luks is
> also required if you want to hibernate - the /dev/urandom way cannot
> be used to hibernate (for obvious reasons).


The "swap" example reinitializes the encrypted block device at boot and
does mkswap on that.  You want neither, just use "luks" as for your other
partition.


	Geert


-- 
geert.hendrickx.be :: geert@xxxxxxxxxxxx :: PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux