Add ability to encrypt plain device.

This commit is contained in:
Milan Broz
2012-06-18 14:29:22 +02:00
parent 0894814148
commit b773823a1b
4 changed files with 195 additions and 54 deletions

View File

@@ -120,6 +120,14 @@ WARNING: This is destructive operation and cannot be reverted.
Use with extreme care - shrinked filesystems are usually unrecoverable.
You cannot shrink device more than by 64 MiB (131072 sectors).
.TP
.B "\-\-new, N"
Create new header (encrypt not yet encrypted device).
This option must be used together with \-\-reduce-device-size.
WARNING: This is destructive operation and cannot be reverted.
.TP
.B "\-\-use-directio"
Use direct-io (O_DIRECT) for all read/write data operations.