dmmp_path_blk_name_get man page

dmmp_path_blk_name_get ā€” Retrieve block name.

Synopsis

const char * dmmp_path_blk_name_get (struct dmmp_path *dmmp_p);

Arguments

dmmp_p

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

Description

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

Return

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

Info

dmmp_path_blk_name_get November 2017 Device Mapper Multipath API - libdmmp Manual