dmmp\_mpath\_kdev\_name\_get(3) Device Mapper Multipath API - libdmmp Manual dmmp\_mpath\_kdev\_name\_get(3)

# [NAME](#NAME)

dmmp\_mpath\_kdev\_name\_get - Retrieve kernel DEVNAME of certain mpath.

# [SYNOPSIS](#SYNOPSIS)

**const char * dmmp\_mpath\_kdev\_name\_get** **(struct dmmp\_mpath \*dmmp\_mp);**

# [ARGUMENTS](#ARGUMENTS)

[dmmp\_mp](#dmmp_mp)

Pointer of 'struct dmmp\_mpath'. If this pointer is NULL, your program will be terminated by assert.

# [DESCRIPTION](#DESCRIPTION)

Retrieve DEVNAME name used by kernel uevent of specified mpath. For example: 'dm-1'.

# [RETURN](#RETURN)

const char \*. No need to free this memory, the resources will get freed when **dmmp\_mpath\_array\_free**.

dmmp\_mpath\_kdev\_name\_get June 2025

---

Document: dmmp_mpath_kdev_name_get(3) from multipath-tools 0.15.1-r0 (Chainguard OS)
Source: https://github.com/opensvc/multipath-tools
