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