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

# [NAME](#NAME)

dmmp\_mpath\_name\_get - Retrieve name(alias) of certain mpath.

# [SYNOPSIS](#SYNOPSIS)

**const char * dmmp\_mpath\_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 the name (also known as alias) of certain mpath. When the config 'user\_friendly\_names' been set 'no', the name will be identical to WWID retrieved by **dmmp\_mpath\_wwid\_get**.

# [RETURN](#RETURN)

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

dmmp\_mpath\_name\_get June 2025

---

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