nvme_init_g...l_media_info(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’« 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, iykyk
  • log β€” 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