1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/kpartx.md

17 lines
284 B
Markdown
Raw Normal View History

2019-05-01 17:29:08 +02:00
# kpartx
> Create device maps from partition tables.
> More information: <https://manned.org/kpartx>.
2019-05-01 17:29:08 +02:00
- Add partition mappings:
`kpartx -a {{whole_disk.img}}`
- Delete partition mappings:
`kpartx -d {{whole_disk.img}}`
- List partition mappings:
`kpartx -l {{whole_disk.img}}`