cryptsetup – setup encrypted partition|
disk/cryptsetup –f files ...|
disk/cryptsetup –o files ...
disk/cryptsetup –i files ...
Cryptsetup prepares an AES–encrypted partition to be used with
the fs(3) device. |
The –f flag formats the partition files, generating a new encryption key. The user will be prompted for a password that will be used to protect the encryption key.
The flags –i and –o activate a previously formatted encrypted partition. The –o flag outputs the fs(3) ctl activation commands to standard output, whereas –i directly writes them to the '/dev/fs/ctl' file. The user will be prompted for the password that was used to protect the encryption key.
Once activated, the new partition appears under /dev/fs/name where
name is the last path element of the files argument.
Cryptsetup first appeared in 9front (May, 2011).|