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...') |