dmmp_reconfig(3)
β¨ dmmp_reconfig(3) β the libdmmp manual, bestie edition β¨
okay so real talk, this is the Device Mapper Multipath API manual β the libdmmp one, section 3 β and today's main character is dmmp_reconfig(3). she's short, she's sweet, she tells the multipathd daemon to go do a little reconfiguration. slay. π
π NAME π
dmmp_reconfig β Instruct multipathd daemon to do reconfiguration.
like literally that's her whole job. no cap.
πΈ SYNOPSIS πΈ
int dmmp_reconfig (struct dmmp_context *ctx);
π¦ ARGUMENTS π¦
ctxβ a pointer of'struct dmmp_context'. and bestie, listen: if this pointer isNULL, your program will be terminated byassert. not a vibe. not even a little. so pls don't passNULL. π
β¨ DESCRIPTION β¨
Instruct multipathd daemon to do reconfiguration. that's it, that's the whole thing. you're basically sending a lil note to the daemon like "hey queen, reconfigure for me" π and she does it.
π RETURN π
Returns int. the valid error codes are, in no particular order but very much in a bulleted list:
DMMP_OKDMMP_ERR_BUGDMMP_ERR_NO_MEMORYDMMP_ERR_NO_DAEMONDMMP_ERR_PERMISSION_DENY
Error number could be converted to string by dmmp_strerror. so if you get a number back and you're like "what does that even mean π", hit up dmmp_strerror and she'll translate. iykyk.
reminder bestie: keep every one of those error codes in mind, because the return value is giving int and nothing else. no guessing, just read the code. π
June 2025 β dmmp_reconfig β dmmp_reconfig(3). that's the source/version and date right there, and this has been your girl signing off. stay reconfigured, stay iconic, periodt. ππ
π¦ 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