NVME_INIT_IDENTIFY_NS_DESCS_LIST-LIBNVME3(2)
β¨ nvme_init_identify_ns_descs_list β¨
okay bestie, so we're in the libnvme API manual today (section 9, page nvme_init_id...s_descs_list(9) if you're keeping track π
) and today's main character is a little void function that sets up your passthru command for the Namespace Descriptor list. it does one thing and it does it slayfully. let's get into it π«Ά
πΈ SYNOPSIS πΈ
void nvme_init_identify_ns_descs_list (struct libnvme_passthru_cmd *cmd
, __u32 nsid , struct nvme_ns_id_desc *descs );
literally that's the whole signature, no cap. it returns void β nothing comes back out, this one's a pure setup girlie β¨
π ARGUMENTS π
cmdβ the command data structure you're initializing. this is the thing she's gonna fill in for you πnsidβ the namespace id whose descriptors you want to retrieve. yes, this specific namespace, we're being precise π₯descsβ the user space destination address the data gets transferred to. it's where the goodies land π¦
π 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_NS_DESC_LIST. that's it, that's the vibe check and she passed π
ngl this is a small one, but it matters β get the CNS value wrong and you're asking the drive a whole different question π
π SEE ALSO π
nothing else listed here bestie, this page is a solo act π
and that's a wrap, babe π this page came to you from the libnvme API manual, dated October 2026 β mwah, go init some commands responsibly πβ¨
π¦ 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