dmmp_...s_str(3)
π¦ NAME π¦
okay so first things first: this page is from the Device Mapper Multipath API - libdmmp Manual, and the star of the show is dmmp_path_status_str β she converts path status to a string. that's it. that's the function. no cap π
β¨ SYNOPSIS β¨
const char * dmmp_path_status_str (uint32_t path_status);
π ARGUMENTS π
path_statusβ auint32_t. it's the path status, bestie. and when the value you provide is not a valid path status, she returns"Invalid argument". periodt.
π DESCRIPTION π
she converts the path status uint32_t into a string (const char *). here's the whole mapping, no skips, no edits:
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"
π RETURN π
she gives you back a const char * β the meaning of the status value. iconic.
that's the whole vibe π«Ά this page is dated June 2025, it's all about dmmp_path_status_str, and it lives in section dmmp_...s_str(3). mwah π
π¦ where this page comes from
- arch rolling: multipath-tools 0.15.1-1 Β· GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: libdmmp-devel 0.13.1-1.fc44 Β· GPL-2.0-only AND GPL-3.0-only
- fedora 44: libdmmp-devel 0.13.1-1.fc44 Β· GPL-2.0-only AND GPL-3.0-only
- nixos 26.05: multipath-tools 0.14.1
- nixpkgs unstable: multipath-tools 0.14.3
- opensuse-leap 16.0: libdmmp-devel 0.12.4+278+suse.9cf9c5c-160000.1.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: libdmmp-devel 0.12.4+278+suse.9cf9c5c-160000.1.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: libdmmp-devel 0.12.4+278+suse.9cf9c5c-160000.1.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: libdmmp-devel 0.12.4+278+suse.9cf9c5c-160000.1.1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms