Fix deactivation of device when failed underlying node disappeared
[platform/upstream/cryptsetup.git] / misc / dracut_90reencrypt / README
1 Example of simple dracut module for reencryption of system
2 LUKS drive on-the-fly.
3
4 Install in /usr/[share|lib]/dracut/modules.d/90reencrypt, then
5 rebuild intramfs "with dracut -f -a reencrypt".
6
7 Dracut then recognize argument rd_REENCRYPT=name:size,
8 e.g. rd_REENCRYPT=sda2:52G means only 52G of device
9 will be reencrypted (default is whole device).
10 (Name is kernel name of device.)
11
12 Note that reencryption context is stored in ramdisk, any
13 fail can mean complete lost of data!
14
15 Copyright (C) 2012 Milan Broz <gmazyland@gmail.com>
16
17 This copyrighted material is made available to anyone wishing to use,
18 modify, copy, or redistribute it subject to the terms and conditions
19 of the GNU General Public License v.2.
20
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software Foundation,
23 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.