NVME_INIT_GET_LOG_BOOT_PARTITION-LIBNVME3(2)
πΈ nvme_init_get_log_boot_partition β libnvme API manual π
okay bestie, so this is a page from the libnvme API manual, and it's about one very specific little function: nvme_init_get_log_boot_partition (the manpage section is 9, iykyk). It's short, it's sweet, and it does exactly one thing β let's get into it π
β¨ NAME β¨
nvme_init_get_log_boot_partition β Initialize passthru command for Boot Partition π¦
That's it. That's the whole job. She's a one-task queen and she does it well, no cap.
β SYNOPSIS β
void nvme_init_get_log_boot_partition (struct libnvme_passthru_cmd *cmd
, __u8 lsp , struct nvme_boot_partition *part , __u32 len );
Look at her π₯Ή Four little params, returns void β she doesn't even need to tell you how it went, she just does it. Main character energy fr.
π ARGUMENTS π
cmdβ the passthru command you're gonna use π like, this is the thing getting set up, hand her the buffer and she'll fill it in.lspβ the log specified field of LID π it's a__u8, so keep it tidy.partβ user address to store the log page π«Ά yes bestie, you own that memory, she's just writing the log page into it.lenβ the allocated size, minimumstruct nvme_boot_partitionβ this one's important β don't go smaller than that or it's giving chaos.
ngl, "minimum struct nvme_boot_partition" is the vibe check here β that's the floor, not the ceiling π
π₯ DESCRIPTION π₯
So what does she actually do? She initializes the passthru command buffer for the Get Log command, with the LID value set to NVME_LOG_LID_BOOT_PARTITION β¨
That's the whole thing. She's basically the setup bestie for the Get Log passthru β you bring the cmd, the lsp, your part buffer and its len, and she makes sure the command buffer is pointed at the Boot Partition log page. Periodt π
No return value, no drama, no surprises β just a clean little initialization π§
π SEE ALSO π
lowkey this page keeps to itself β the original doesn't list any SEE ALSO refs, so there's nothing extra to link you to π (go read the rest of the libnvme API manual if you're nosy, but that's me being chatty, not the page.)
πΈ tiny reminder: this is the libnvme API manual, so all the usual "this is a library function, mind your pointers, mind your buffer sizes" energy applies π
okay that's the whole page, bestie β short and iconic, just like her π
sign-off time π: this one came from the libnvme API manual, dated October 2026, and the page is nvme_init_get_log_boot_partition(9) β see you in the next one, muah πβ¨π¦
π¦ 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