Gentoo Archives: gentoo-amd64

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] 2nd HDD for var, tmp, usr/portage, swap
Date: Fri, 20 Jul 2007 18:39:12
Message-Id: 20070720193521.2ae70d75@krikkit.digimed.co.uk
In Reply to: Re: [gentoo-amd64] 2nd HDD for var, tmp, usr/portage, swap by Richard Freeman
1 Hello Richard Freeman,
2
3 > Ok, here is a question. I am using encrypted swap, with a script that
4 > creates a loopback off of my swap partition on each boot.
5 >
6 > The problem is that if a drive fails and I reboot, the device name for
7 > the drives will change. My mkswap could potentially wipe out the wrong
8 > partition in that case.
9
10 Use cryptsetup-luks to set up encrypted swap partitions and
11 use /etc/conf.d/cryptfs to manage it. If you use a different key for
12 swap, there's no risk of it unlocking the wrong partition and formatting
13 it.
14
15
16 --
17 Neil Bothwick
18
19 The word 'Windows' is a word out of an old dialect of the Apaches.
20 It means: 'White man staring through glass-screen onto an hourglass...')

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-amd64] 2nd HDD for var, tmp, usr/portage, swap Richard Freeman <rich@××××××××××××××.net>