]> git.ipfire.org Git - thirdparty/systemd.git/commit - docs/BLOCK_DEVICE_LOCKING.md
doc: add an example code to lock the whole disk
authorJanuary <1398871225@qq.com>
Thu, 24 Nov 2022 13:13:17 +0000 (21:13 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 13 Dec 2022 13:55:57 +0000 (14:55 +0100)
commit55371658793b7276fea30bdcd12252e1f75eb5e9
treeffeef12ecd7ea30875cdc8c20f88ee6eb9949059
parent661e4251a5b157d1aee1df98fbd2f0c95285ebba
doc: add an example code to lock the whole disk

add an example to leverage `libsystemd` infrastructure to get the whole disk of a block device and take BSD lock on it #25046
docs/BLOCK_DEVICE_LOCKING.md