libnvme(9)
π libnvme(9) β the API Manual, bestie edition π
Okay so this is a page from the libnvme API Manual, and it's literally just one little enum, but it's an important little enum, so let's get into it β¨
π¦ NAME π¦
enum nvme_mi_dtyp β the Data Structure Type field. That's it. That's the whole name. Short, sweet, iconic π
πΈ SYNOPSIS πΈ
Here's the whole thing, verbatim, no edits, no cap:
enum nvme_mi_dtyp {
nvme_mi_dtyp_subsys_info ,
nvme_mi_dtyp_port_info ,
nvme_mi_dtyp_ctrl_list ,
nvme_mi_dtyp_ctrl_info ,
nvme_mi_dtyp_opt_cmd_support ,
nvme_mi_dtyp_meb_support
};
Six constants, in that order, with that trailing comma energy. Slay π
β¨ Constants β¨
These are the six values, and ngl each one is doing its own little job. Here's the rundown:
nvme_mi_dtyp_subsys_infoβ NVM Subsystem Information. The big-picture subsystem tea π«nvme_mi_dtyp_port_infoβ Port information. All the port deets πnvme_mi_dtyp_ctrl_listβ Controller List. A whole list of controllers, bestie πnvme_mi_dtyp_ctrl_infoβ Controller Information. The controller's whole lore π§nvme_mi_dtyp_opt_cmd_supportβ Optionally Supported Command List. The commands that are like "maybe, depends" β optional girlies πnvme_mi_dtyp_meb_supportβ Management Endpoint Buffer Command Support List. Long name, big main-character energy π
π Description π
So what is this thing? It's the Data Structure Type field for the Read NVMe-MI Data Structure command. Basically it tells the endpoint which particular structure you wanna query from it β like pointing at the menu and going "that one, please" π
That's the entire vibe check: pick a constant, ask the endpoint for that structure, done. Periodt β¨
π Real talk though: this page is just the enum definition and the meaning of each constant. There's no extra lore here, so don't go looking for it β everything you need is up above, fr fr.
and that's the whole page, bestie π This absolute gem landed in the libnvme manual as enum nvme_mi_dtyp, dated October 2026, and it's signed off with the source/version tag libnvme(9) β so if anyone asks where you got your Data Structure Type info, you say libnvme, October 2026, and you say it with your chest ππ«Ά
π¦ 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