nvme_init_g...l_media_info(9)
π« nvme_init_get_log_rotational_media_info π«
okay bestie, so this is a page straight out of the libnvme API manual and honestly? it's giving "niche but iconic." sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
nvme_init_get_log_rotational_media_info β sets up the passthru command for the Rotational Media Information Log π
like, it literally initializes the passthru command for that log. that's the whole vibe. no cap.
π SYNOPSIS π
void nvme_init_get_log_rotational_media_info (struct
libnvme_passthru_cmd *cmd , __u16 endgid , struct
nvme_rotational_media_info_log *log , __u32 len );
look at her go π four args, zero drama.
π¦ ARGUMENTS π¦
cmdβ the passthru command you're gonna use. this is the main character, she gets set up π«Άendgidβ the Endurance Group Identifier, an__u16, iykyklogβ the user address where the log page gets stored π₯lenβ the allocated length of the log page, an__u32, don't forget her π
πΈ DESCRIPTION πΈ
so what does she actually do? she initializes the passthru command buffer for the Get Log command, and she sets the LID value to NVME_LOG_LID_ROTATIONAL_MEDIA_INFO.
that's it. that's the whole job. and she ate. π
ngl this is one of those quiet little helper functions that just does her one thing and leaves β respect fr fr π
π SEE ALSO π
hmm, there isn't a SEE ALSO section on this one bestie β she's flying solo ππ§
mwah π that's the whole page! this little slice of the libnvme API manual is dated October 2026, and yes the header/footer kept trying to squash her name into nvme_init_get_log_rotational_mnvme_init_g...l_media_info(9) β a true "not me" moment π. anyway, section 9, rotational media info, periodt. πβ¨
π¦ 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