libnvme_scan_namespace(9)
π NAME π
okay so bestie, this is the libnvme_scan_namespace(9) page from the libnvme API manual, and it is literally here to scan namespace based on sysfs name. no cap. β¨
πΈ SYNOPSIS πΈ
int libnvme_scan_namespace (struct libnvme_global_ctx *ctx , const char
*name , struct libnvme_ns **ns );
π ARGUMENTS π
ctxβ astruct libnvme_global_ctxobject. thatβs the context bestie, itβs giving main character energy πnameβ thesysfsname of the namespace to scan. iconic. π¦nsβ astruct libnvme_nsobject to return. yes, this is the return object, periodt. π«Ά
π¦ RETURN π¦
returns 0 on success, negative error code otherwise. fr fr πβ
mwah π β from the libnvme API manual, October 2026, on the libnvme_scan_namespace(9) page. byeee ππ
π¦ 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