]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/machine-image.c
machine-image: add a generic API to determine metadata of any image
authorLennart Poettering <lennart@poettering.net>
Tue, 14 Nov 2017 22:25:13 +0000 (23:25 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 20 Nov 2017 15:43:15 +0000 (16:43 +0100)
commitc7664c071ec935f67fed7aceebc296513d17ea15
tree27a9f3d781c28290c5cd74d1e25042be2e40a8e3
parenta1edd22e67f077b8a7b4fce3f4905f35078a701a
machine-image: add a generic API to determine metadata of any image

This adds an internal API that permits querying metadata from any type
of image, including both subvol/dir images, and raw/block images. In the
latter case we use the new dissection API we just added.
src/shared/machine-image.c
src/shared/machine-image.h