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

Re: [solved, unsafely?] What is the correct way to set encrypted swap with systemd?



David Wright <deblis@lionunicorn.co.uk> wrote:

> That cure looks retrograde to me because it throws away the uniqueness
> of UUIDs. What if /dev/sda3 changes, for whatever reason.

This is why you use /dev/disk/by-* and not the raw device name, just
like I did.

> Could you not try using a /dev/disk/by-foo/... entry instead and see
> if that works? (I don't recognise the particular one Sven uses.)

Because my swap resides on a md-RAID I use the UUID of the RAID.

S°

-- 
Sigmentation fault. Core dumped.


Reply to: