nvme_scan_ns_head_paths(9)
β¨ nvme_scan_ns_head_paths(9) β¨
okay bestie, welcome to the libnvme API manual π this one's short and sweet but she is important, so pay attention, mkay?
π NAME π
nvme_scan_ns_head_paths β scan for namespace paths π¦
like⦠she goes looking for paths. that's the whole gig. no cap.
πΈ SYNOPSIS πΈ
int nvme_scan_ns_head_paths (nvme_ns_head_t head , struct dirent
***paths );
the way that triple pointer justβ¦ exists π yes bestie, struct dirent ***paths, three stars, she's thriving, she's got main character energy. we don't question her. we respect her.
π ARGUMENTS π
headβ the namespace head node you wanna scan. that's your starting point, your home base, your girl π«Άpathsβ a pointer to an array of dirents. she gets filled up with the paths we find β¨
β RETURN β
she hands you back the number of entries in ents π
that's it. that's the return. count your blessings and your dirents, bestie π
lowkey a little reminder: the return saysents, but the argument is calledpathsβ that's just how the API talks, iykyk, don't @ me π we report the facts exactly as they are, always. periodt.
and that's the whole page!! π this lil slice of the libnvme API manual was documented back in August 2026, and it's called nvme_scan_ns_head_paths β same name up top, same name down here, symmetrical queen π stay scanning, bestie, mwah ππ§π
π¦ where this page comes from
- fedora 44: libnvme-doc 1.16.2-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms