# systemd-veritysetup - Disk verity protection logic - man(8) - [phpMan]

_SYSTEMD-VERITYSETUP@[.SERVICE_(8)](https://www.chedong.com/phpMan.php/man/.SERVICE/8/markdown)     systemd-veritysetup@.service     _SYSTEMD-VERITYSETUP@[.SERVICE_(8)](https://www.chedong.com/phpMan.php/man/.SERVICE/8/markdown)

## NAME
       systemd-veritysetup@.service, systemd-veritysetup - Disk verity protection logic

## SYNOPSIS
       systemd-veritysetup@.service

       /usr/lib/systemd/systemd-veritysetup

## DESCRIPTION
       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.

       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 [**systemd-veritysetup-generator**(8)](https://www.chedong.com/phpMan.php/man/systemd-veritysetup-generator/8/markdown).

       systemd-veritysetup@.service calls **systemd-veritysetup**.

## COMMANDS
       The following commands are understood by **systemd-veritysetup**:

       **attach _**volume_ _datadevice_ _hashdevice_ _roothash_ [_option_...]
           Create a block device _volume_ using _datadevice_ and _hashdevice_ as the backing devices.
           _roothash_ forms the root of the tree of hashes stored on _hashdevice_. See **Kernel**
           **dm-verity**[1] documentation for details.

           Added in version 250.

       **detach _**volume_
           Detach (destroy) the block device _volume_.

           Added in version 250.

### help
           Print short information about command syntax.

           Added in version 250.

## SEE ALSO
       [**systemd**(1)](https://www.chedong.com/phpMan.php/man/systemd/1/markdown), [**systemd-veritysetup-generator**(8)](https://www.chedong.com/phpMan.php/man/systemd-veritysetup-generator/8/markdown), [**veritysetup**(8)](https://www.chedong.com/phpMan.php/man/veritysetup/8/markdown)

## NOTES
        1. Kernel dm-verity
           <https://docs.kernel.org/admin-guide/device-mapper/verity.html>

systemd 255                                                          _SYSTEMD-VERITYSETUP@[.SERVICE_(8)](https://www.chedong.com/phpMan.php/man/.SERVICE/8/markdown)
