tldr/pages/linux/systemd-dissect.md

29 lines
790 B
Markdown
Raw Normal View History

systemd-dissect: add page (#11414) * systemd-tmpFiles:Add page * Update and rename systemd-tmp-files.md to systemd-tmpfiles.md * Update pages/linux/systemd-tmpfiles.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/systemd-tmpfiles.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * systemd-dissect * Update pages/linux/systemd-dissect.md Co-authored-by: Juri Dispan <juri.dispan@posteo.net> * Update pages/linux/systemd-dissect.md Co-authored-by: Juri Dispan <juri.dispan@posteo.net> * Update pages/linux/systemd-dissect.md Co-authored-by: Juri Dispan <juri.dispan@posteo.net> * Update pages/linux/systemd-dissect.md Co-authored-by: Juri Dispan <juri.dispan@posteo.net> * Update pages/linux/systemd-dissect.md Co-authored-by: Juri Dispan <juri.dispan@posteo.net> * Update pages/linux/systemd-dissect.md Co-authored-by: Juri Dispan <juri.dispan@posteo.net> * Update pages/linux/systemd-dissect.md Co-authored-by: Juri Dispan <juri.dispan@posteo.net> * add new line * Update pages/linux/systemd-dissect.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * Update pages/linux/systemd-dissect.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/systemd-dissect.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/systemd-dissect.md Co-authored-by: Juri Dispan <juri.dispan@posteo.net> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-11-09 07:30:26 +00:00
# systemd-dissect
> Introspect and interact with file system OS disk images, specifically Discoverable Disk Images (DDIs).
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-dissect.html>.
- Show general image information about the OS image:
`systemd-dissect {{path/to/image.raw}}`
- Mount an OS image:
`systemd-dissect --mount {{path/to/image.raw}} {{/mnt/image}}`
- Unmount an OS image:
`systemd-dissect --umount {{/mnt/image}}`
- List files in an image:
`systemd-dissect --list {{path/to/image.raw}}`
- Attach an OS image to an automatically allocated loopback block device and print its path:
`systemd-dissect --attach {{path/to/image.raw}}`
- Detach an OS image from a loopback block device:
`systemd-dissect --detach {{path/to/device}}`