DOKK / manpages / debian 12 / multipath-tools / dmmp_path_status_str.3.en
dmmp_path_status_str(3) Device Mapper Multipath API - libdmmp Manual dmmp_path_status_str(3)

dmmp_path_status_str - Convert path status to string.

const char * dmmp_path_status_str (uint32_t path_status);

uint32_t. Path status. When provided value is not a valid path status, return "Invalid argument".

Convert path status uint32_t to string (const char *):

* DMMP_PATH_STATUS_UNKNOWN -- "undef"

* DMMP_PATH_STATUS_DOWN -- "faulty"

* DMMP_PATH_STATUS_UP -- "ready"

* DMMP_PATH_STATUS_SHAKY -- "shaky"

* DMMP_PATH_STATUS_GHOST -- "ghost"

* DMMP_PATH_STATUS_PENDING -- "pending"

* DMMP_PATH_STATUS_TIMEOUT -- "timeout"

* DMMP_PATH_STATUS_REMOVED -- "removed"

* DMMP_PATH_STATUS_DELAYED -- "delayed"

const char *. The meaning of status value.

dmmp_path_status_str March 2018