libnvme_refresh_topology(9)
okay bestie, welcome to libnvme_refresh_topology(9) from the libnvme API manual β manual name folded in near the top, exactly like requested π«Άβ¨
πΈ NAME πΈ
libnvme_refresh_topology β refresh libnvme_root_t object contents. That's the whole vibe: it's the glow-up pass for your root object's contents π
π¦ SYNOPSIS π¦
int libnvme_refresh_topology (struct libnvme_global_ctx *ctx );
π ARGUMENTS π
ctxβstruct libnvme_global_ctxobject. That's the one and only argument, bestie π
β¨ DESCRIPTION β¨
Okay so the actual move: it removes all elements in r and rescans the existing topology. Yep, the page literally says r right there β not ctx β so I'm not gaslighting you, I'm just reading the docs fr fr ππ
π RETURN π
0 on success, negative error code otherwise. So: success = 0 (slay), otherwise = a negative error code (not slay, but at least it's a clear error signal) πβ¨
Signed with love by the libnvme API manual crew, dated October 2026, with footer energy that reads libnvme_refresh_topologylibnvme_refresh_topology(9) π«Άπβ¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms