term% cat index.txt CRYPTSETUP(8) System Manager's Manual CRYPTSETUP(8)
NAME
cryptsetup - setup encrypted partition
SYNOPSIS
cryptsetup -f files ...
cryptsetup -o files ...
cryptsetup -i files ...
DESCRIPTION
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 pro‐
tect the encryption key.
The flags -i and -o activate a previously formatted encrypted parti‐
tion. 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 en‐
cryption key.
Once activated, the new partition appears under /dev/fs/name where name
is the last path element of the files argument.
SOURCE
/sys/src/cmd/cryptsetup
SEE ALSO
aes(2), fs(3)
HISTORY
Cryptsetup first appeared in 9front (May, 2011).
CRYPTSETUP(8)