DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: [dm-crypt] Cryptsetup FAQ montly pointer 8/13
@ 2013-08-03 14:10 Dragan Milivojević
  2013-08-03 14:47 ` Milan Broz
  2013-08-03 17:47 ` Arno Wagner
  0 siblings, 2 replies; 12+ messages in thread
From: Dragan Milivojević @ 2013-08-03 14:10 UTC (permalink / raw)
  To: dm-crypt

> Another option for reliably identifying the swap partition is to use
> /dev/disk/by-id/<identifier> to identify the drive by model and serial
> number.  For example, my own swap partition is
>
>     /dev/disk/by-id/scsi-SATA_ST95005620AS_5YX1NEGE-part5
>
> That should be safe unless I re-purpose that drive and forget to update
> /etc/crypttab.

I would suggest using UUID. It works in all cases (partition, raid,
lvm member etc).
My crypttab (encrypted swap/home):

luks-4dc17e23-e895-4e4b-8061-114fb33c310b
UUID=4dc17e23-e895-4e4b-8061-114fb33c310b none
luks-46969c48-ab1f-4bd7-bc2a-ae7c1bc86b26
UUID=46969c48-ab1f-4bd7-bc2a-ae7c1bc86b26 none

This was generated by fedora install.

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [dm-crypt] Cryptsetup FAQ montly pointer 8/13
@ 2013-08-02 21:54 Arno Wagner
  2013-08-03 13:51 ` Robert Nichols
  0 siblings, 1 reply; 12+ messages in thread
From: Arno Wagner @ 2013-08-02 21:54 UTC (permalink / raw)
  To: dm-crypt

The FAQ can be fount on the Web here:
  http://code.google.com/p/cryptsetup/wiki/FrequentlyAskedQuestions
and in the sources.

Changes:
- Added section on swap encryption as item 2.2 

Arno


-- 
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno@wagner.name
GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C 5FA1 CB5D 9718
----
There are two ways of constructing a software design: One way is to make it
so simple that there are obviously no deficiencies, and the other way is to
make it so complicated that there are no obvious deficiencies. The first
method is far more difficult.  --Tony Hoare

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-08-04 15:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox