On Sat, Mar 03, 2012 at 09:50:41PM +0100, Mathijs Kwik wrote:
> 2012/3/3 Lluís Batlle i Rossell <[email protected]>:
> > Hello people using luksRoot... I changed that a bit on nixos, I hope that
> > for
> > the better. I used it to get a ciphered swap that works for hibernation.
> >
> > If you had:
> > boot.initrd.luksRoot = "/dev/sda2";
> >
> > Then now you have to write:
> > boot.initrd.luks.enable = true;
> > boot.initrd.luks.devices = [ { name = "luksroot"; device = "/dev/sda2"; } ]
>
> Can you please explain "name" ?
> Is that a label that is being searched for?
Yes, the name in the device mapper. /dev/mapper/luksroot, it will become.
cryptsetup uses the term:
luksOpen <device> <name> - open LUKS device as mapping <name>
Regards,
Lluís.
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev