2012-07-05 17:17:03 +00:00
|
|
|
.TH CRYPTSETUP 8
|
|
|
|
.SH NAME
|
|
|
|
cryptsetup \- setup encrypted partition
|
|
|
|
.SH SYNOPSIS
|
2016-10-24 18:56:11 +00:00
|
|
|
.B disk/cryptsetup
|
2012-07-05 17:17:03 +00:00
|
|
|
.B -f
|
|
|
|
.I files ...
|
|
|
|
.br
|
2016-10-24 18:56:11 +00:00
|
|
|
.B disk/cryptsetup
|
2012-07-05 17:17:03 +00:00
|
|
|
.B -o
|
|
|
|
.I files ...
|
|
|
|
.br
|
2016-10-24 18:56:11 +00:00
|
|
|
.B disk/cryptsetup
|
2012-07-05 17:17:03 +00:00
|
|
|
.B -i
|
|
|
|
.I files ...
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.I Cryptsetup
|
2012-07-07 21:13:49 +00:00
|
|
|
prepares an AES-encrypted partition to be used with the
|
2012-07-05 17:17:03 +00:00
|
|
|
.IR fs (3)
|
|
|
|
device.
|
|
|
|
.PP
|
|
|
|
The
|
|
|
|
.B -f
|
2012-07-05 17:34:26 +00:00
|
|
|
flag formats the partition
|
2012-07-05 17:17:03 +00:00
|
|
|
.I files,
|
2012-07-05 17:34:26 +00:00
|
|
|
generating a new encryption key. The user will be prompted
|
|
|
|
for a password that will be used to protect the encryption key.
|
2012-07-05 17:17:03 +00:00
|
|
|
.PP
|
|
|
|
The flags
|
|
|
|
.B -i
|
|
|
|
and
|
|
|
|
.B -o
|
2c(1), torrent(1), uhtml(1), kbd(3), cwfs(4), hgfs(4), cifsd(8), cryptsetup(8), hjfs(8), kbdfs(8), realemu(8), wpa(8): fix spelling, typos
2013-08-23 19:48:52 +00:00
|
|
|
activate a previously formatted encrypted partition. The
|
2012-07-05 17:17:03 +00:00
|
|
|
.B -o
|
|
|
|
flag outputs the
|
|
|
|
.IR fs (3)
|
2012-07-07 21:13:49 +00:00
|
|
|
ctl activation commands to standard output, whereas
|
2012-07-05 17:17:03 +00:00
|
|
|
.B -i
|
|
|
|
directly writes them to the
|
|
|
|
.B '/dev/fs/ctl'
|
2012-07-07 21:13:49 +00:00
|
|
|
file. The user will be prompted for the password that was used
|
|
|
|
to protect the encryption key.
|
2012-07-05 17:17:03 +00:00
|
|
|
.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.
|
2012-07-07 21:19:07 +00:00
|
|
|
.SH SOURCE
|
2016-10-24 18:56:11 +00:00
|
|
|
.B /sys/src/cmd/disk/cryptsetup.c
|
2012-07-05 17:17:03 +00:00
|
|
|
.SH SEE ALSO
|
2012-07-07 21:19:07 +00:00
|
|
|
.IR aes (2) ,
|
2012-07-05 17:17:03 +00:00
|
|
|
.IR fs (3)
|
2013-12-27 21:22:05 +00:00
|
|
|
.SH HISTORY
|
|
|
|
.I Cryptsetup
|
|
|
|
first appeared in 9front (May, 2011).
|