xref: /dflybsd-src/share/man/man4/dm_target_crypt.4 (revision da0d55f085a21b3ce1a4d7e24db5d4ea77df67d1)
1*c5b75119SAlex Hornung.\" Copyright (c) 2012 The DragonFly BSD Project.
2*c5b75119SAlex Hornung.\" All rights reserved.
3*c5b75119SAlex Hornung.\"
4*c5b75119SAlex Hornung.\" This code is derived from software contributed to The DragonFly BSD Project
5*c5b75119SAlex Hornung.\" by Alex Hornung
6*c5b75119SAlex Hornung.\"
7*c5b75119SAlex Hornung.\" Redistribution and use in source and binary forms, with or without
8*c5b75119SAlex Hornung.\" modification, are permitted provided that the following conditions
9*c5b75119SAlex Hornung.\" are met:
10*c5b75119SAlex Hornung.\" 1. Redistributions of source code must retain the above copyright
11*c5b75119SAlex Hornung.\"    notice, this list of conditions and the following disclaimer.
12*c5b75119SAlex Hornung.\" 2. Redistributions in binary form must reproduce the above copyright
13*c5b75119SAlex Hornung.\"    notice, this list of conditions and the following disclaimer in the
14*c5b75119SAlex Hornung.\"    documentation and/or other materials provided with the distribution.
15*c5b75119SAlex Hornung.\"
16*c5b75119SAlex Hornung.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17*c5b75119SAlex Hornung.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18*c5b75119SAlex Hornung.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19*c5b75119SAlex Hornung.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20*c5b75119SAlex Hornung.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21*c5b75119SAlex Hornung.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22*c5b75119SAlex Hornung.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23*c5b75119SAlex Hornung.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24*c5b75119SAlex Hornung.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25*c5b75119SAlex Hornung.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26*c5b75119SAlex Hornung.\" POSSIBILITY OF SUCH DAMAGE.
27*c5b75119SAlex Hornung.Dd February 24, 2012
28*c5b75119SAlex Hornung.Dt DM_TARGET_CRYPT 4
29*c5b75119SAlex Hornung.Os
30*c5b75119SAlex Hornung.Sh NAME
31*c5b75119SAlex Hornung.Nm dm_target_crypt
32*c5b75119SAlex Hornung.Nd Device-mapper crypt target
33*c5b75119SAlex Hornung.Sh SYNOPSIS
34*c5b75119SAlex HornungTo compile this driver into the kernel,
35*c5b75119SAlex Hornungplace the following lines in your
36*c5b75119SAlex Hornungkernel configuration file:
37*c5b75119SAlex Hornung.Bd -ragged -offset indent
38*c5b75119SAlex Hornung.Cd "device dm"
39*c5b75119SAlex Hornung.Cd "device dm_target_crypt"
40*c5b75119SAlex Hornung.Ed
41*c5b75119SAlex Hornung.Pp
42*c5b75119SAlex HornungAlternatively, to load the driver as a
43*c5b75119SAlex Hornungmodule at boot time, place the following line in
44*c5b75119SAlex Hornung.Xr loader.conf 5 :
45*c5b75119SAlex Hornung.Bd -literal -offset indent
46*c5b75119SAlex Hornungdm_target_crypt_load="YES"
47*c5b75119SAlex Hornung.Ed
48*c5b75119SAlex Hornung.Sh DESCRIPTION
49*c5b75119SAlex HornungThe
50*c5b75119SAlex Hornung.Nm
51*c5b75119SAlex Hornungtarget for
52*c5b75119SAlex Hornung.Xr dm 4
53*c5b75119SAlex Hornungprovides transparent disk encryption compatible with Linux
54*c5b75119SAlex Hornung.Nm dm-crypt .
55*c5b75119SAlex Hornung.Sh SEE ALSO
56*c5b75119SAlex Hornung.Xr dm 4 ,
57*c5b75119SAlex Hornung.Xr cryptsetup 8 ,
58*c5b75119SAlex Hornung.Xr dmsetup 8 ,
59*c5b75119SAlex Hornung.Xr tcplay 8
60*c5b75119SAlex Hornung.Sh HISTORY
61*c5b75119SAlex HornungThe
62*c5b75119SAlex Hornung.Nm
63*c5b75119SAlex Hornung.Xr dm 4
64*c5b75119SAlex Hornungtarget first appeared in
65*c5b75119SAlex Hornung.Dx 2.7 .
66*c5b75119SAlex Hornung.Sh AUTHORS
67*c5b75119SAlex Hornung.An Alex Hornung
68