mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-13 03:40:05 +01:00
committed by
Milan Broz
parent
58ad7bae48
commit
bb29c5b322
@@ -487,10 +487,15 @@ to standard output.
|
|||||||
.PP
|
.PP
|
||||||
\fIconvert\fR <device> \-\-type <format>
|
\fIconvert\fR <device> \-\-type <format>
|
||||||
.IP
|
.IP
|
||||||
Converts the device between LUKS and LUKS2 format (if possible).
|
Converts the device between LUKS1 and LUKS2 format (if possible).
|
||||||
The conversion will not be performed if there is an additional LUKS2 feature or LUKS has
|
The conversion will not be performed if there is an additional LUKS2 feature or LUKS1 has
|
||||||
unsupported header size.
|
unsupported header size.
|
||||||
|
|
||||||
|
Conversion (both directions) must be performed on inactive device. There must not be active
|
||||||
|
dm-crypt mapping established for LUKS header requested for conversion.
|
||||||
|
|
||||||
|
\fB\-\-type\fR option is mandatory with following accepted values: \fIluks1\fR or \fIluks2\fR.
|
||||||
|
|
||||||
\fBWARNING:\fR The \fIconvert\fR action can destroy the LUKS header in the case of a crash
|
\fBWARNING:\fR The \fIconvert\fR action can destroy the LUKS header in the case of a crash
|
||||||
during conversion or if a media error occurs.
|
during conversion or if a media error occurs.
|
||||||
Always create a header backup before performing this operation!
|
Always create a header backup before performing this operation!
|
||||||
|
|||||||
Reference in New Issue
Block a user