Create device maps from partition tables. - kpartx

Create device maps from partition tables. More information: kpartx - manned.org.

  • Add partition mappings:

kpartx -a {{whole_disk.img}}

  • Delete partition mappings:

kpartx -d {{whole_disk.img}}

  • List partition mappings:

kpartx -l {{whole_disk.img}}