Ever tried to mount a partition that is inside an image with multiple partitions? With kpartx of the multipath-tools package, it's really easy. It scans the image and creates a individual device file for every partition using the device mapper.
Example in case of a KVM image: http://blog.piotrj.org/2009/03/mounting-raw-kvmqemu-image.html
Mounting a partition inside an image
- Details