nvme_init_get_log_smart(9)
π nvme_init_get_log_smart(9) π
okay so bestie, welcome to the libnvme API manual β¨ this little cutie lives in section 9 of the manual, and she's here to get your passthru command all dressed and ready for the SMART / Health Information log. no cap. π©Ίπ
π NAME π
nvme_init_get_log_smart β literally the function that initializes the passthru command for SMART / Health Information πΈβ¨
π¦ SYNOPSIS π¦
void nvme_init_get_log_smart (struct libnvme_passthru_cmd *cmd , __u32
nsid , struct nvme_smart_log *smart_log );
like. it returns void, it takes three things, and it's iconic for it π
π ARGUMENTS π
cmdβ the passthru command you're gonna use, bestie π she's the one getting set up.nsidβ an optional namespace identifier π¦ yes queen, optional, you can skip her if you want.smart_logβ a user address where the smart log gets stored π like, that's where the goods go.
β¨ DESCRIPTION β¨
so what does she actually do?? π she initializes the passthru command buffer for the Get Log command, and she does it with the LID value NVME_LOG_LID_SMART π₯ that's it, that's the whole vibe. iykyk π
ngl bestie, that's the entire function. short, sweet, and she ate ππ«Ά
that's the whole page! this lil number is from the libnvme API manual, dated October 2026, and she goes by nvme_init_get_log_smart (section 9, obviously π
). mwah, bye bestie! πππ¦β¨π
π¦ 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