public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] 2nd HDD for var, tmp, usr/portage, swap
Date: Fri, 20 Jul 2007 19:35:21 +0100	[thread overview]
Message-ID: <20070720193521.2ae70d75@krikkit.digimed.co.uk> (raw)
In-Reply-To: <46A0F3AB.1000907@thefreemanclan.net>

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

Hello Richard Freeman,

> Ok, here is a question.  I am using encrypted swap, with a script that
> creates a loopback off of my swap partition on each boot.
> 
> The problem is that if a drive fails and I reboot, the device name for
> the drives will change.  My mkswap could potentially wipe out the wrong
> partition in that case.

Use cryptsetup-luks to set up encrypted swap partitions and
use /etc/conf.d/cryptfs to manage it. If you use a different key for
swap, there's no risk of it unlocking the wrong partition and formatting
it.


-- 
Neil Bothwick

The word 'Windows' is a word out of an old dialect of the Apaches.
It means: 'White man staring through glass-screen onto an hourglass...')

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-07-20 18:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-20 14:41 [gentoo-amd64] 2nd HDD for var, tmp, usr/portage, swap Bernhard Auzinger
2007-07-20 15:13 ` Bob Sanders
2007-07-20 17:10   ` Beso
2007-07-20 17:31 ` Richard Freeman
2007-07-20 17:40   ` Richard Freeman
2007-07-20 18:31     ` Bernhard Auzinger
2007-07-20 18:35     ` Neil Bothwick [this message]
2007-07-20 19:37       ` Richard Freeman
2007-07-20 19:49         ` Neil Bothwick
2007-07-23 13:53           ` Richard Freeman
2007-07-23 14:05             ` Neil Bothwick
2007-07-23 14:18               ` Richard Freeman
2007-07-23 14:55                 ` Neil Bothwick
2007-07-20 19:17     ` Marek Wróbel
2007-08-01 16:39   ` Bernhard Auzinger
2007-08-01 17:15     ` Richard Freeman
2007-07-20 18:41 ` [gentoo-amd64] " Duncan
2007-07-20 18:47 ` [gentoo-amd64] " Bernhard Auzinger

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=20070720193521.2ae70d75@krikkit.digimed.co.uk \
    --to=neil@digimed.co.uk \
    --cc=gentoo-amd64@lists.gentoo.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox