From 8e92d92fb8981b109259d0c50f2c26cf3281ee4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 4 Feb 2020 16:40:52 +0100 Subject: [PATCH] man: tweak description of blockdev@.target In particular, let's just say "is" and "must" instead of "may be" and "should". The weaker forms are obviously correct, but the text is easier to understand if non-conditional forms are used. --- man/systemd.special.xml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/man/systemd.special.xml b/man/systemd.special.xml index f393283a1d..d54a5de871 100644 --- a/man/systemd.special.xml +++ b/man/systemd.special.xml @@ -848,20 +848,19 @@ blockdev@.target - This template unit may be used to order mount units and other consumers of block - devices against services that synthesize these block devices. This is intended to be used to order - storage services (such as + This template unit is used to order mount units and other consumers of block + devices after services that synthesize these block devices. In particular, this is intended to be + used with storage services (such as systemd-cryptsetup@.service5) - that allocate and manage a virtual block device against mount units and other consumers of - it. Specifically, the storage services are supposed to be orderd before an instance of - blockdev@.target, and the mount unit (or other consuming unit, such as a swap - unit) after it. The ordering is particular relevant during shutdown, as it ensures that the mount - is deactivated first and the service backing the mount only deactivated after that completed. The - blockdev@.target instance should be pulled in via a - dependency of the storage daemon and thus generally not be part of any transaction unless a storage - daemon is used. The instance name for instances of this template unit is supposed to be the - properly escaped bock device node path, e.g. blockdev@dev-mapper-foobar.target - for a storage device /dev/mapper/foobar. + that allocate and manage a virtual block device. Storage services are ordered before an instance of + blockdev@.target, and the consumer units after it. The ordering is + particularly relevant during shutdown, as it ensures that the mount is deactivated first and the + service backing the mount later. The blockdev@.target instance should be + pulled in via a dependency of the storage daemon and thus generally not be + part of any transaction unless a storage daemon is used. The instance name for instances of this + template unit must be a properly escaped block device node path, e.g. + blockdev@dev-mapper-foobar.target for the storage device + /dev/mapper/foobar. cryptsetup-pre.target