nvme_init_i...y_ports_list(9)
π nvme_init_identify_ports_list(9)
okay so bestie, this one is from the libnvme API manual, section 9 (the kernel/API girlies, iykyk), and the page header is literally nvme_init_i...y_ports_list(9) β yes the title got truncated mid-word, she's a little dramatic like that, we still love her πΈ
β¨ NAME β¨
nvme_init_identify_ports_list β Initialize passthru command for Get Ports List
like, she sets up your passthru command so it's ready for the Get Ports List moment. iconic behavior honestly π
π SYNOPSIS π
void nvme_init_identify_ports_list (struct libnvme_passthru_cmd *cmd ,
struct nvme_ports_list *list , __u32 len );
notice the void? she gives you nothing back, no return value, no crumbs β she just does the thing π
π¦ ARGUMENTS π¦
cmdβ the command data structure you're initializing. this is the main character of the operation fr fr, it's the buffer that's getting set up π«Άlistβ the user space destination address where the data gets transferred. that's where the goods land, no cap πlenβ the allocated length oflist. yes bestie, you have to tell her how much room there is, she's not a mind reader π
π DESCRIPTION π
So what does she actually do? She initializes the passthru command buffer for the Identify command, with the CNS value set to NVME_IDENTIFY_CNS_PORTS_LIST. That's it, that's the whole vibe β buffer goes in, initialized Identify command with the right CNS comes out, slay β¨
ngl the CNS value is the whole point here. NVME_IDENTIFY_CNS_PORTS_LIST β copy it exactly, don't go freestyling on the spelling, she's case-sensitive and she will notice π
and that's the page!! lowkey short but highkey essential ππ
final sign-off bestie: this masterpiece lives in the libnvme API manual, dated October 2026 β the footer said October 2026 nvme_init_identify_ports_nvme_init_i...y_ports_list(9) and yes the truncation showed up again, she's consistent, we stan a consistent queen ππ
π¦ 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