NVME_INIT_GET_LOG_DISCOVERY-LIBNVME3(2)
π NAME π
Okay so welcome to the libnvme API manual, bestie β this is the page for nvme_init_get_log_discovery(9) β¨.
nvme_init_get_log_discovery β Initialize passthru command for Discovery. Thatβs the whole name vibe: itβs giving βset up the passthru command so we can go get that Discovery logβ π¦.
β¨ SYNOPSIS β¨
void nvme_init_get_log_discovery (struct libnvme_passthru_cmd *cmd ,
__u64 lpo , void *log , __u32 len );
This is the exact signature, no cap. Do not come for the spacing β itβs literally that π .
π ARGUMENTS π
cmdβ Passthru command to use. This is the passthru command youβre working with π«Ά.lpoβ Offset of this log to retrieve. Basically where in the log youβre starting, iykyk.logβ User address to store the discovery log. This is where the discovery log goes πΈ.lenβ The allocated size for this portion of the log. The amount of room youβve got for this chunk, periodt.
π DESCRIPTION π
So hereβs the tea: this function initializes the passthru command buffer for the Get Log command with LID value NVME_LOG_LID_DISCOVERY π₯. Thatβs the main character move β it sets up the passthru command buffer for Get Log with that LID, fr fr. No extra plot twists.
Thatβs the page, bestie π«Ά β source/version vibes: libnvme API manual, date: October 2026, and the page is nvme_init_get_log_discovery(9) π. Also the footer had a lil disconvme glitch in its page-name moment β iconic typo behavior, but weβre still obsessed π
.
π¦ 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