1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 18:37:58 +01:00
tldr/pages/linux/kpartx.md
2019-05-01 16:29:08 +01:00

235 B

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}}