blob: 06209dbaff63395f9c94279958fd833062a38c3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
.TH CRYPTSETUP 8
.SH NAME
cryptsetup \- setup encrypted partition
.SH SYNOPSIS
.B cryptsetup
.B -f
.I files ...
.br
.B cryptsetup
.B -o
.I files ...
.br
.B cryptsetup
.B -i
.I files ...
.SH DESCRIPTION
.I Cryptsetup
prepares an AES-encrypted partition to be used with the
.IR fs (3)
device.
.PP
The
.B -f
flag formats the partition
.I files,
generating a new encryption key. The user will be prompted
for a password that will be used to protect the encryption key.
.PP
The flags
.B -i
and
.B -o
activate a previously formated encrypted partition. The
.B -o
flag outputs the
.IR fs (3)
ctl activation commands to standard output, whereas
.B -i
directly writes them to the
.B '/dev/fs/ctl'
file. The user will be prompted for the password that was used
to protect the encryption key.
.PP
Once activated, the new partition appears under
.BI /dev/fs/ name
where
.I name
is the last path element of the
.I files
argument.
.SH SOURCE
.B /sys/src/cmd/cryptsetup
.SH SEE ALSO
.IR aes (2) ,
.IR fs (3)
|