libnvme(9)
π 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 SubsystemNVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_SUBSYSTEMSβ List Exported NVM SubsystemsNVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_NAMESPACESβ List Exported NamespacesNVME_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_CONTROLLERSis message-based transports only andNVME_MANAGE_EXPORT_NVMS_RECV_SEL_LIST_PORTSis 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
- 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