What's the difference between partx and kpartx?
partx asks the kernel to probe a given device and re-read the partition table. The kernel is doing the work here.
kpartx creates device mapper entries and so can be used by devices that the kernel does not natively support partitioning, such as multipath device mapper devices ("kpartx" is part of multipath-tools) or files.