From: Alex Elsayed <eternaleye@gmail.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Cryptsetup FAQ montly pointer 8/13
Date: Sat, 03 Aug 2013 12:49:39 +0000 [thread overview]
Message-ID: <ktjml4$3f8$1@ger.gmane.org> (raw)
In-Reply-To: 20130803174753.GB7854@tansi.org
Arno Wagner wrote:
> It does not work for encrypted swap. And it cannot work,
> as the UUID is stored in the partition itself. Just the same
> as an empty partition does not have an UUID...
>
> Arno
If you're on GPT then you have to option of PARTUUID and PARTLABEL,
which *are* present in such cases - that only works for raw partitions,
but may be something to think about.
I dodge the whole thing by putting my LVM PV on top of LUKS, and then having
my swap in an LV. I need persistent swap (and thus LUKS, not random key) for
hibernation anyway, and doing it as described brings the number of keys
needed down to 1.
If I *had* RAID, I'd go (bottom to top) RAID -> LUKS -> LVM -> Swap/FS.
next prev parent reply other threads:[~2013-08-03 19:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-03 14:10 [dm-crypt] Cryptsetup FAQ montly pointer 8/13 Dragan Milivojević
2013-08-03 14:47 ` Milan Broz
2013-08-03 17:57 ` Arno Wagner
2013-08-03 20:47 ` Milan Broz
2013-08-03 21:47 ` Arno Wagner
2013-08-03 22:51 ` Matthias Schniedermeyer
2013-08-03 17:47 ` Arno Wagner
2013-08-03 12:49 ` Alex Elsayed [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-08-02 21:54 Arno Wagner
2013-08-03 13:51 ` Robert Nichols
2013-08-03 17:46 ` Arno Wagner
2013-08-04 15:02 ` Sven Eschenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ktjml4$3f8$1@ger.gmane.org' \
--to=eternaleye@gmail.com \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.