nvme_mi_adm...l_media_info(2)
β¨ nvme_mi_adm...l_media_info(2) β¨
okay bestie, welcome to the libnvme API manual π this is the page for nvme_mi_admin_get_log_rotational_media_info (the filename got squished, don't worry about it, the vibes are immaculate).
πΈ NAME πΈ
nvme_mi_admin_get_log_rotational_media_info β Retrieve Rotational Media Information Log π
Like, literally. It goes and gets you the Rotational Media Information Log. That's the whole job. Main character energy tbh π
π SYNOPSIS π
int nvme_mi_admin_get_log_rotational_media_info (nvme_mi_ctrl_t ctrl ,
__u16 endgid , __u32 len , struct nvme_rotational_media_info_log *log );
yes it's one long line, she's a lil extra but we love her π«Ά
π ARGUMENTS π
ctrlβ the Controller you're querying. this is your girl, your target, the one you're asking for the tea πendgidβ the Endurance Group Identifier. type__u16, so keep it small and cute πlenβ the allocated length of the log page. how much room you're giving her to spill πlogβ user address to store the log page. that's where the results go, astruct nvme_rotational_media_info_log *, so she's got somewhere to land β¨
π₯ RETURN π₯
So here's what you get back, no cap:
- the nvme command status if a response was received (peep
enum nvme_status_fieldfor all the deets π) - or
-1witherrnoset otherwise π
fr fr, if you see that-1, go checkerrnobefore you spiral. she left clues, bestie π΅οΈββοΈ
π SEE ALSO π
ngl there's no SEE ALSO section on this page, so just go read that enum nvme_status_field and you're set π
mwah π that's the whole page, every single detail intact, nothing skipped, we ate and left no crumbs. this beauty dropped in July 2026 and it lives in the libnvme API manual, page nvme_mi_admin_get_log_rotationalmedia_info(2)-ish (the footer clipped it, iconic of her honestly). bye bestie, go log some rotational media info π¦π
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms