Software guide · Other Infrastructure & Cloud

What is kpartx?

kpartx is made by multipath-tools project. Command-line utility that reads a block device or disk image partition table and creates, updates, lists, or removes device-mapper mappings for the discovered partitions so they can be accessed as separate mapped devices.

2 in 10large enterprise estates Samplify has analysed run kpartx.
22tools in its category turn up across those estates.See the category
6core features, listed below.
01

What kpartx does

Command-line utility that reads a block device or disk image partition table and creates, updates, lists, or removes device-mapper mappings for the discovered partitions so they can be accessed as separate mapped devices.

  • Creates device-mapper mappings from partition tables on a whole-disk block device or disk image
  • Add, delete, update, and list operations for partition mappings
  • Supports creating read-only mappings
  • Can force mapping creation (override no_partitions) and force GPT handling
  • Synchronous (wait) and asynchronous (no-wait) device node creation modes
  • Customizable partition name delimiter and verbose output option

Category: Container Management. kpartx is open source and free to use.

02

What teams use it for

  • Mounting and inspecting individual partitions inside a disk image by creating /dev/mapper/* entries
  • Automating partition mapping creation/removal during device events (e.g., udev/hotplug workflows)
  • Managing partition device mappings on systems using device-mapper and multipath storage
  • Cleaning up partition mappings after use (removing device-mapper entries created for a device/image)
03

What it overlaps with

These tools do similar work and turn up in the same large estates. Owning more than one is common, and it is often where the savings are.

04

Questions buyers ask

What does kpartx do?

Command-line utility that reads a block device or disk image partition table and creates, updates, lists, or removes device-mapper mappings for the discovered partitions so they can be accessed as separate mapped devices.

How common is kpartx in large enterprises?

Samplify finds kpartx in about 2 in 10 of the large enterprise software estates it has analysed.

Is kpartx free?

kpartx is open source and free to use.

What can replace kpartx?

Other tools in the same category include Docker Desktop, Docker, Podman, Flatpak.

Do we already own something that does what kpartx does?

Often, yes. Large estates commonly hold several tools that overlap. Samplify compares every tool you own at feature level, across every category, and decides which one stays.

→

Paying twice for the same job?

Most large estates own several tools that do the same thing, often without anyone knowing. Samplify compares every tool you own at feature level and decides which one stays, with the evidence attached.

Take the assessmentHow Samplify works
05

Where this comes from

Samplify's software catalogue and the large enterprise estates it has analysed, as at 2 Dec 2026. Features and use cases are Samplify's own reading of the product. Check anything important with multipath-tools project.