]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/blockdev-util.h
blockdev-util: introduce block_device_new_from_fd() and block_device_new_from_path()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 18 Sep 2022 21:33:26 +0000 (06:33 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Sep 2022 08:42:23 +0000 (17:42 +0900)
commitfd690a4b7fbb0c823c2b0df4d2096a1b441f7482
tree2be0e58865d77b18d61c62dd583990fa617b4b43
parent612fc70fc0f5445817f3f5c033dd3d5b5fd058ea
blockdev-util: introduce block_device_new_from_fd() and block_device_new_from_path()

These are possible replacements of get_block_device(),
get_block_device_harder(), path_get_whole_disk(), and friends.
src/shared/blockdev-util.c
src/shared/blockdev-util.h