From: Zbigniew Jędrzejewski-Szmek Date: Sat, 31 Jul 2021 07:16:52 +0000 (+0200) Subject: man: describe veritysetup command syntax X-Git-Tag: v250-rc1~882^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F20372%2Fhead;p=thirdparty%2Fsystemd.git man: describe veritysetup command syntax It makes it easier to diagnose what the generated units actually do. --- diff --git a/man/systemd-veritysetup@.service.xml b/man/systemd-veritysetup@.service.xml index c9554b087ae..70f08374e22 100644 --- a/man/systemd-veritysetup@.service.xml +++ b/man/systemd-veritysetup@.service.xml @@ -36,6 +36,53 @@ At early boot and when the system manager configuration is reloaded kernel command line configuration for integrity protected block devices is translated into systemd-veritysetup@.service units by systemd-veritysetup-generator8. + + systemd-veritysetup@.service calls systemd-veritysetup. + + + + Commands + + The following commands are understood by systemd-veritysetup: + + + + + + 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 documentation for details. + + + + + + + volume + + + Detach (destroy) the block device + volume. + + + + + + + + Print short information about command syntax. + + diff --git a/src/veritysetup/veritysetup.c b/src/veritysetup/veritysetup.c index 14d7462ddbc..e58bae45d22 100644 --- a/src/veritysetup/veritysetup.c +++ b/src/veritysetup/veritysetup.c @@ -30,7 +30,7 @@ static int help(void) { printf("%s attach VOLUME DATADEVICE HASHDEVICE ROOTHASH [OPTIONS]\n" "%s detach VOLUME\n\n" - "Attaches or detaches an integrity protected block device.\n" + "Attach or detach an integrity protected block device.\n" "\nSee the %s for details.\n", program_invocation_short_name, program_invocation_short_name,