systemd-dissect
linux
Introspect and interact with filesystem OS disk images, specifically Discoverable Disk Images (DDIs).
More info →Options (3)
-m, --mountbooleanMount an OS image
Example:
systemd-dissect {{[-m|--mount]}} {{path/to/image.raw}} {{/mnt/image}}-u, --umountbooleanUnmount an OS image
Example:
systemd-dissect {{[-u|--umount]}} {{/mnt/image}}-l, --listbooleanList files in an image
Example:
systemd-dissect {{[-l|--list]}} {{path/to/image.raw}}Examples (6)
Show general image information about the OS image
systemd-dissect path/to/image.rawMount an OS image
systemd-dissect [-m|--mount] path/to/image.raw /mnt/imageUnmount an OS image
systemd-dissect [-u|--umount] /mnt/imageList files in an image
systemd-dissect [-l|--list] path/to/image.rawAttach an OS image to an automatically allocated loopback block device and print its path
systemd-dissect --attach path/to/image.rawDetach an OS image from a loopback block device
systemd-dissect --detach path/to/devicemade by @shridhargupta | data from tldr-pages