'\" t
.TH "SYSTEMD\-VERITYSETUP@\&.SERVICE" "8" "" "systemd 253" "systemd-veritysetup@.service"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
systemd-veritysetup@.service, systemd-veritysetup \- Disk verity protection logic
.SH "SYNOPSIS"
.PP
systemd\-veritysetup@\&.service
.PP
/usr/lib/systemd/systemd\-veritysetup
.SH "DESCRIPTION"
.PP
systemd\-veritysetup@\&.service
is a service responsible for setting up verity protection block devices\&. It should be instantiated for each device that requires verity protection\&.
.PP
At early boot and when the system manager configuration is reloaded kernel command line configuration for verity protected block devices is translated into
systemd\-veritysetup@\&.service
units by
\fBsystemd-veritysetup-generator\fR(8)\&.
.PP
systemd\-veritysetup@\&.service
calls
\fBsystemd\-veritysetup\fR\&.
.SH "COMMANDS"
.PP
The following commands are understood by
\fBsystemd\-veritysetup\fR:
.PP
\fBattach\fR \fIvolume\fR \fIdatadevice\fR \fIhashdevice\fR \fIroothash\fR [\fIoption\fR\&.\&.\&.]
.RS 4
Create a block device
\fIvolume\fR
using
\fIdatadevice\fR
and
\fIhashdevice\fR
as the backing devices\&.
\fIroothash\fR
forms the root of the tree of hashes stored on
\fIhashdevice\fR\&. See
\m[blue]\fBKernel dm\-verity\fR\m[]\&\s-2\u[1]\d\s+2
documentation for details\&.
.RE
.PP
\fBdetach\fR \fIvolume\fR
.RS 4
Detach (destroy) the block device
\fIvolume\fR\&.
.RE
.PP
\fBhelp\fR
.RS 4
Print short information about command syntax\&.
.RE
.SH "SEE ALSO"
.PP
\fBsystemd\fR(1),
\fBsystemd-veritysetup-generator\fR(8),
\fBveritysetup\fR(8)
.SH "NOTES"
.IP " 1." 4
Kernel dm-verity
.RS 4
\%https://docs.kernel.org/admin-guide/device-mapper/verity.html
.RE
