tldr/pages/linux/kpartx.md

16 lines
235 B
Markdown
Raw Normal View History

2019-05-01 18:29:08 +03:00
# kpartx
> Create device maps from partition tables.
- Add partition mappings:
`kpartx -a {{whole_disk.img}}`
- Delete partition mappings:
`kpartx -d {{whole_disk.img}}`
- List partition mappings:
`kpartx -l {{whole_disk.img}}`