Implement a function to query the storage information, to allow the nbdkit plugin to query the size of each storage device. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>