systemd-dissect
Introspect and interact with filesystem OS disk images, specifically Discoverable Disk Images (DDIs). tldr-pages
On Linux
Linux
Show general image information about the OS image
systemd-dissect path/to/image.rawIdentifyMount an OS image
systemd-dissect --mount path/to/image.raw /mnt/imageIdentifyUnmount an OS image
systemd-dissect --umount /mnt/imageIdentifyList files in an image
systemd-dissect --list path/to/image.rawIdentifyAttach an OS image to an automatically allocated loopback block device and print its path
systemd-dissect --attach path/to/image.rawIdentifyDetach an OS image from a loopback block device
systemd-dissect --detach path/to/deviceIdentify