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

# [NAME](#NAME)

dmmp\_path\_blk\_name\_get - Retrieve block name.

# [SYNOPSIS](#SYNOPSIS)

**const char * dmmp\_path\_blk\_name\_get** **(struct dmmp\_path \*dmmp\_p);**

# [ARGUMENTS](#ARGUMENTS)

[dmmp\_p](#dmmp_p)

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

# [DESCRIPTION](#DESCRIPTION)

Retrieve block name of certain path. The example of block names are "sda", "nvme0n1".

# [RETURN](#RETURN)

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

dmmp\_path\_blk\_name\_get June 2025

---

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