libnvme(2)

πŸ’– NAME πŸ’–

enum nvme_ctrl_metadata_type β€” Controller Metadata Element Types πŸŽ€ (it's from the API Manual, bestie, and it lives in section 2 of the libnvme docs, so you know it's the real deal)


✨ SYNOPSIS ✨

okay so here's the whole enum, and yes we're gonna list every single one of them, no skips:

enum nvme_ctrl_metadata_type {
    NVME_CTRL_METADATA_OS_CTRL_NAME ,
    NVME_CTRL_METADATA_OS_DRIVER_NAME ,
    NVME_CTRL_METADATA_OS_DRIVER_VER ,
    NVME_CTRL_METADATA_PRE_BOOT_CTRL_NAME ,
    NVME_CTRL_METADATA_PRE_BOOT_DRIVER_NAME ,
    NVME_CTRL_METADATA_PRE_BOOT_DRIVER_VER ,
    NVME_CTRL_METADATA_SYS_PROC_MODEL ,
    NVME_CTRL_METADATA_CHIPSET_DRV_NAME ,
    NVME_CTRL_METADATA_CHIPSET_DRV_VERSION ,
    NVME_CTRL_METADATA_OS_NAME_AND_BUILD ,
    NVME_CTRL_METADATA_SYS_PROD_NAME ,
    NVME_CTRL_METADATA_FIRMWARE_VERSION ,
    NVME_CTRL_METADATA_OS_DRIVER_FILENAME ,
    NVME_CTRL_METADATA_DISPLAY_DRV_NAME ,
    NVME_CTRL_METADATA_DISPLAY_DRV_VERSION ,
    NVME_CTRL_METADATA_HOST_DET_FAIL_REC

};

πŸ¦‹ Constants πŸ¦‹

every member of this enum, one by one, with what it actually means πŸ’…

  • NVME_CTRL_METADATA_OS_CTRL_NAME β€” the name of the controller as the operating system sees it ✨
  • NVME_CTRL_METADATA_OS_DRIVER_NAME β€” the driver's name, but in the operating system this time 🫢
  • NVME_CTRL_METADATA_OS_DRIVER_VER β€” the driver's version, operating-system flavored πŸ“
  • NVME_CTRL_METADATA_PRE_BOOT_CTRL_NAME β€” the controller's name in the pre-boot environment πŸ‘€ yes, they get their own namespace
  • NVME_CTRL_METADATA_PRE_BOOT_DRIVER_NAME β€” the driver's name in the pre-boot environment 🌸
  • NVME_CTRL_METADATA_PRE_BOOT_DRIVER_VER β€” the driver's version in the pre-boot environment πŸ’œ
  • NVME_CTRL_METADATA_SYS_PROC_MODEL β€” the model of the processor 😭 the literal CPU, iconic
  • NVME_CTRL_METADATA_CHIPSET_DRV_NAME β€” chipset driver name πŸ”₯
  • NVME_CTRL_METADATA_CHIPSET_DRV_VERSION β€” chipset driver version πŸ”₯
  • NVME_CTRL_METADATA_OS_NAME_AND_BUILD β€” the operating system's name and build, together, as one πŸ’«
  • NVME_CTRL_METADATA_SYS_PROD_NAME β€” system product name ⭐
  • NVME_CTRL_METADATA_FIRMWARE_VERSION β€” the host firmware version β€” e.g UEFI β€” like yes bestie, that firmware 🧚
  • NVME_CTRL_METADATA_OS_DRIVER_FILENAME β€” the operating system driver's filename πŸŽ€
  • NVME_CTRL_METADATA_DISPLAY_DRV_NAME β€” display driver name 🌈
  • NVME_CTRL_METADATA_DISPLAY_DRV_VERSION β€” display driver version 🌈
  • NVME_CTRL_METADATA_HOST_DET_FAIL_REC β€” failure record πŸ’€ (that's the whole description, she's mysterious, we respect it)

quick vibe check: these don't have hidden defaults or secret side effects hiding in this page β€” they're just enum members, one per metadata element. What you see is what you get, fr fr.

and that's the whole page, bestie 🫢 this lil doc is dated July 2026 and it's part of the libnvme API Manual, section 2 (so: libnvme(2)) β€” no cap, that's genuinely the source and date, go off πŸ‘‘πŸ’–βœ¨

πŸ“¦ where this page comes from