libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) πŸ’…

okay so bestie, welcome to the API Manual β€” yes, that's literally the manual name, we're being official today β€” and this page is all about one very specific little enum. no cap, it's niche, but it's iconic in its own way. let's get into it ✨


✨ NAME ✨

enum nvme_manage_export_nvms_recv_sel β€” Manage Exported NVM Subsystem Receive - Select (SEL)

like, the whole vibe of this thing in one line: it's the Select (SEL) field for the Manage Exported NVM Subsystem Receive command. that's the mission. that's the whole assignment. πŸŽ€


✨ SYNOPSIS ✨

enum nvme_manage_export_nvms_recv_sel {
    NVME_MANAGE_EXPORT_NVMS_RECV_SEL_CREATE ,
    NVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_SUBSYSTEMS ,
    NVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_NAMESPACES ,
    NVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_CONTROLLERS ,
    NVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_PORTS ,
    NVME_MANAGE_EXPORT_NVMS_RECV_SEL_GET_CONFIG_STATE

};

look at those six constants just sitting there, absolutely serving 🫢 copy them exactly, bestie, character for character, don't you dare "fix" the spacing.


✨ Constants ✨

okay so the main character energy here is the constant list β€” every single one tells the command what to select. here's the whole squad, in order, no skips:

  • NVME_MANAGE_EXPORT_NVMS_RECV_SEL_CREATE β€” Create Exported NVM Subsystem
  • NVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_SUBSYSTEMS β€” List Exported NVM Subsystems
  • NVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_NAMESPACES β€” List Exported Namespaces
  • NVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_CONTROLLERS β€” List Exported Controllers (message-based transports only)
  • NVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_PORTS β€” List Exported Ports (memory-based transports only)
  • NVME_MANAGE_EXPORT_NVMS_RECV_SEL_GET_CONFIG_STATE β€” Get Exported NVM Subsystem Configuration State
heads up bestie 🚨 β€” NVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_CONTROLLERS is message-based transports only and NVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_PORTS is memory-based transports only. don't mix those up, it's giving "read the transport type first" energy 😭

that's the whole page, honestly. short, sweet, six constants deep, and every one of them matters πŸ’œ like I said β€” niche, but iconic.

okay and before I go β€” cute little sign-off moment: this page is libnvme, dated October 2026 ✨ and it will absolutely go down in history as "the enum that listed things." slay. periodt. πŸ’…πŸŒΈ

πŸ“¦ where this page comes from