veritysetup: add support for fec options
authorGaël PORTAY <gael.portay@collabora.com>
Sun, 27 Dec 2020 13:55:09 +0000 (08:55 -0500)
committerGaël PORTAY <gael.portay@rtone.fr>
Thu, 13 Apr 2023 03:39:49 +0000 (05:39 +0200)
commit21c60c76e10b23d47b97fdd88a56314fc0b3c66b
tree8e5dea7199a6901173cd55896c62ec2f7c335e9d
parent0bbf7a842a3feb4952415d82d2b469f5c5d91836
veritysetup: add support for fec options

The verity fec_* parameters allows to use Forward Error Correction to
recover from corruption if hash verification fails.

This adds the options fec_device, fec_offset and fec_roots (sixth
argument) which are the equivalent of the options --fec-device,
--fec-offset and --fec-roots in the veritysetup world.
 - fec-device=FILE
 - fec-offset=BYTES
 - fec-roots=UINT64

See `veritysetup(8)` for more details.
man/systemd-veritysetup-generator.xml
man/veritytab.xml
src/veritysetup/veritysetup.c