2016-12-16 19:57:44 +08:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--*-nxml-*-->
|
2019-03-14 21:40:58 +08:00
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
2023-12-25 22:48:33 +08:00
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
2020-11-09 12:23:58 +08:00
|
|
|
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
|
2023-12-24 00:22:04 +08:00
|
|
|
<refentry id="systemd-veritysetup_.service" conditional='HAVE_LIBCRYPTSETUP'
|
2023-08-23 00:52:02 +08:00
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude">
|
2016-12-16 19:57:44 +08:00
|
|
|
|
|
|
|
<refentryinfo>
|
|
|
|
<title>systemd-veritysetup@.service</title>
|
|
|
|
<productname>systemd</productname>
|
|
|
|
</refentryinfo>
|
|
|
|
|
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>systemd-veritysetup@.service</refentrytitle>
|
|
|
|
<manvolnum>8</manvolnum>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>systemd-veritysetup@.service</refname>
|
|
|
|
<refname>systemd-veritysetup</refname>
|
2021-10-14 03:18:12 +08:00
|
|
|
<refpurpose>Disk verity protection logic</refpurpose>
|
2016-12-16 19:57:44 +08:00
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<para><filename>systemd-veritysetup@.service</filename></para>
|
|
|
|
<para><filename>/usr/lib/systemd/systemd-veritysetup</filename></para>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
2021-10-14 03:18:12 +08:00
|
|
|
<para><filename>systemd-veritysetup@.service</filename> is a service responsible for setting up verity
|
|
|
|
protection block devices. It should be instantiated for each device that requires verity
|
2016-12-16 19:57:44 +08:00
|
|
|
protection.</para>
|
|
|
|
|
|
|
|
<para>At early boot and when the system manager configuration is reloaded kernel command line configuration for
|
2021-10-14 03:18:12 +08:00
|
|
|
verity protected block devices is translated into <filename>systemd-veritysetup@.service</filename> units by
|
2016-12-16 19:57:44 +08:00
|
|
|
<citerefentry><refentrytitle>systemd-veritysetup-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2021-07-31 15:16:52 +08:00
|
|
|
|
|
|
|
<para><filename>systemd-veritysetup@.service</filename> calls <command>systemd-veritysetup</command>.</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Commands</title>
|
|
|
|
|
|
|
|
<para>The following commands are understood by <command>systemd-veritysetup</command>:</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<option>attach</option>
|
|
|
|
<replaceable>volume</replaceable>
|
|
|
|
<replaceable>datadevice</replaceable>
|
|
|
|
<replaceable>hashdevice</replaceable>
|
|
|
|
<replaceable>roothash</replaceable>
|
|
|
|
[<replaceable>option</replaceable>...]
|
|
|
|
</term>
|
|
|
|
|
|
|
|
<listitem><para>Create a block device <replaceable>volume</replaceable> using
|
|
|
|
<replaceable>datadevice</replaceable> and <replaceable>hashdevice</replaceable> as the backing
|
|
|
|
devices. <replaceable>roothash</replaceable> forms the root of the tree of hashes stored on
|
|
|
|
<replaceable>hashdevice</replaceable>. See
|
2022-07-04 22:26:30 +08:00
|
|
|
<ulink url="https://docs.kernel.org/admin-guide/device-mapper/verity.html">
|
2021-07-31 15:16:52 +08:00
|
|
|
Kernel dm-verity</ulink> documentation for details.
|
2023-08-23 00:52:36 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v250"/></listitem>
|
2021-07-31 15:16:52 +08:00
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<option>detach</option>
|
|
|
|
<replaceable>volume</replaceable>
|
|
|
|
</term>
|
|
|
|
|
|
|
|
<listitem><para>Detach (destroy) the block device
|
2023-08-23 00:52:36 +08:00
|
|
|
<replaceable>volume</replaceable>.</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v250"/></listitem>
|
2021-07-31 15:16:52 +08:00
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
<option>help</option>
|
|
|
|
</term>
|
|
|
|
|
2023-08-23 00:52:36 +08:00
|
|
|
<listitem><para>Print short information about command syntax.</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v250"/></listitem>
|
2021-07-31 15:16:52 +08:00
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2016-12-16 19:57:44 +08:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See Also</title>
|
2023-12-23 02:09:32 +08:00
|
|
|
<para><simplelist type="inline">
|
|
|
|
<member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-veritysetup-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry project='die-net'><refentrytitle>veritysetup</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
</simplelist></para>
|
2016-12-16 19:57:44 +08:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
</refentry>
|