dmmp_mpath_kdev_name_get man page

dmmp_mpath_kdev_name_get ā€” Retrieve kernel DEVNAME of certain mpath.

Synopsis

const char * dmmp_mpath_kdev_name_get (struct dmmp_mpath *dmmp_mp);

Arguments

dmmp_mp

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

Description

Retrieve DEVNAME name used by kernel uevent of specified mpath.

Example

Return

const char *. No need to free this memory, the resources will get freed when dmmp_mpath_array_free.

Info

dmmp_mpath_kdev_name_get November 2017 Device Mapper Multipath API - libdmmp Manual