NVME_IDENTIFY_ENDURANCE_GROUP_LIST(2)
β¨ nvme_identify_endurance_group_list β the libnvme API manual π
okay bestie, so we're in the libnvme API manual and this one is literally called nvme_identify_endurance_group_list. yes the actual manual page header shortens it to nvme_identif...e_group_list(2) because apparently even man pages get truncated, slay. anyway.
π¦ NAME π¦
nvme_identify_endurance_group_list β it's giving Endurance group list data β¨
πΈ SYNOPSIS πΈ
int nvme_identify_endurance_group_list (int fd , __u16 endgrp_id ,
struct nvme_id_endurance_group_list *list );
like, three args, one return value, no notes. iconique.
π ARGUMENTS π
fdβ the file descriptor of the nvme device, aka your little golden ticket to the hardware, no cap πendgrp_idβ the endurance group identifier, a__u16, so it knows which endurance group we're talking about π«Άlistβ an array of endurance group identifiers, pointing at astruct nvme_id_endurance_group_list, which is where the good stuff lands β
π RETURN π
so here's the tea: you get the nvme command status if a response was received β go peek at enum nvme_status_field for what all those values actually mean, iykyk.
and if not? you get -1 with errno set instead. π literally the classic "something went sideways" combo, fr fr.
not me having to remind you that-1+errnois a failure and the status field is a response β they are not the same vibe, bestie, do not conflate them π
July 2026 energy, libnvme API manual teaaa π β that's the version and the date this page came from, and that's the whole thing. you ate. periodt. πβ¨
π¦ 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