]> git.ipfire.org Git - thirdparty/systemd.git/commit
util: add generic block device listener helper
authorLennart Poettering <lennart@poettering.net>
Mon, 1 Jul 2024 09:45:12 +0000 (11:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 1 Jul 2024 14:39:40 +0000 (16:39 +0200)
commit68ff31fa0aa23060c60a51cebbe593e1e4c769ff
tree217ac31a58984fadc6360a927e994ab07b87ecdd
parentbff5d2fd5af2fbf79f0f692ccc30ea47fd141188
util: add generic block device listener helper

Various of our tools operate on block devices, and it's not always
obvious to know which block devices are actually appropriate for use.
Hence, let's add a helper that allows to list block devices, and
supports some limited filtering.
src/shared/blockdev-list.c [new file with mode: 0644]
src/shared/blockdev-list.h [new file with mode: 0644]
src/shared/meson.build