nvme_mi_admin_identify(2)
π NAME π
nvme_mi_admin_identify β bestie, this one runs an Admin identify command and it is literally the moment your controller introduces itself β¨
This page lives in the libnvme API manual and it's giving very much "official docs but make it fun" π
πΈ SYNOPSIS πΈ
int nvme_mi_admin_identify (nvme_mi_ctrl_t ctrl , struct
nvme_identify_args *args );
okay so look at that signature, it's so clean π two params, one int coming back at you π«Ά
π ARGUMENTS π
ctrlβ the Controller that's gonna process this identify command. this is your girl, she's doing the work πͺargsβ the Identify command arguments. all the lil settings for the ask live in here π
π¦ DESCRIPTION π¦
So here's the tea: you're performing an Identify command, and you're doing it using the Identify command parameters tucked inside args π―
It stores the identify data in ->data, and (if it's set) it drops the result from cdw0 into args->result. lowkey such a thoughtful lil detail, putting everything where you'd expect π
β οΈ heads up bestie: it will return an error if the length of the response data (from the controller) is not a full NVME_IDENTIFY_DATA_SIZE. no partial readings here, we accept nothing less than the whole thing, periodt π
Also, go peep: struct nvme_identify_args β that's where all the args lore lives π
β RETURN β
It hands you back the nvme command status if a response was received (check enum nvme_status_field for that), or -1 with errno set otherwise π
so likeβ¦ either you get a real status, or you get -1 and errno tells you what went down. iykyk π
that's the whole page, you ate it, no crumbs, fr fr π
sign-off szn π this was the libnvme API manual, July 2026 edition β written with love, shipped with vibes, and yes the nvme_mi_admin_identify name shows up twice up top because that's just how manpages do π
β¨
π¦ 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