1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-02 09:47:03 +03:00

man: document udevadm lock's exit code

(cherry picked from commit aa386add6772a41b3fcc2220d1c7f6d2d3b16c0a)
This commit is contained in:
Ulrich Ölmann 2022-07-21 14:04:49 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 8d688da26d
commit a4a04055f8

View File

@ -802,7 +802,8 @@
<para><command>udevadm lock</command> takes an (advisory) exclusive lock(s) on a block device (or
multiple thereof), as per <ulink url="https://systemd.io/BLOCK_DEVICE_LOCKING">Locking Block Device
Access</ulink> and invokes a program with the lock(s) taken. When the invoked program exits the lock(s)
are automatically released.</para>
are automatically released and its return value is propagated as exit code of <command>udevadm
lock</command>.</para>
<para>This tool is in particular useful to ensure that
<citerefentry><refentrytitle>systemd-udevd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>