nbd: add nbd-get-status
commit82c500fac5003c0f7448cebe7805fb083322724e
authorJosef Bacik <jbacik@fb.com>
Tue, 28 Mar 2017 15:28:18 +0000 (28 11:28 -0400)
committerWouter Verhelst <w@uter.be>
Sat, 28 Sep 2024 11:28:49 +0000 (28 13:28 +0200)
tree82bda3f74024340ef1e36911d85cc0c86d4dea7d
parent6ff6c94c9baf9a02bb33f5cebd8685514bed0c48
nbd: add nbd-get-status

Add support for the netlink get status command to get the connection
status of one or all of the nbd devices in a system.

Signed-off-by: Josef Bacik <jbacik@fb.com>
[Forward-ported after seven (!) years by Wouter Verhelst]
Signed-off-by: Wouter Verhelst <w@uter.be>
Makefile.am
configure.ac
nbd-get-status.c [new file with mode: 0644]
nbd-netlink.h