libnvme(9)
πΈ libnvme(9) β bestie edition πΈ
okay so this is a page from the API Manual for libnvme, and today's main character is enum nvme_cmd_effects β the vibe check for what a command actually does to your controller. no cap, it's lowkey iconic π
β¨ NAME β¨
enum nvme_cmd_effects β Commands Supported and Effects π
like, literally the whole personality of this enum is answering "can you run this command, and what chaos does it cause if you do" π¦
β¨ SYNOPSIS β¨
here's the shape of it, bestie β copy it exactly, don't be creative:
enum nvme_cmd_effects {
NVME_CMD_EFFECTS_CSUPP ,
NVME_CMD_EFFECTS_LBCC ,
NVME_CMD_EFFECTS_NCC ,
NVME_CMD_EFFECTS_NIC ,
NVME_CMD_EFFECTS_CCC ,
NVME_CMD_EFFECTS_CSER_SHIFT ,
NVME_CMD_EFFECTS_CSER_MASK ,
NVME_CMD_EFFECTS_CSE_SHIFT ,
NVME_CMD_EFFECTS_CSE_MASK ,
NVME_CMD_EFFECTS_UUID_SEL
};
β¨ Constants β¨
okay this is the part you actually need β every single one of these, no skipping π
NVME_CMD_EFFECTS_CSUPPβ Command Supported. it's giving "yes this command exists, slay" βNVME_CMD_EFFECTS_LBCCβ Logical Block Content Change. the data in your logical blocks can change β so like, heads up π«ΆNVME_CMD_EFFECTS_NCCβ Namespace Capability Change. your namespace's capabilities can shift πNVME_CMD_EFFECTS_NICβ Namespace Inventory Change. the namespace inventory itself can change, which is a whole thing πNVME_CMD_EFFECTS_CCCβ Controller Capability Change. controller capabilities can change too, main character energy tbh πNVME_CMD_EFFECTS_CSER_SHIFTβ Command submission and execution relaxations shift. yes, the word "shift" is literal, it's a bit shift π₯NVME_CMD_EFFECTS_CSER_MASKβ Command Submission and Execution Relaxations. this is the mask that gets you at 'em πNVME_CMD_EFFECTS_CSE_SHIFTβ Command submission and execution shift. again β a shift, not a vibe β¨NVME_CMD_EFFECTS_CSE_MASKβ Command Submission and Execution. the mask for the submission/execution field πNVME_CMD_EFFECTS_UUID_SELβ UUID Selection Supported. uuid selection? supported. periodt πΈ
and that's the whole page, bestie β every constant, nothing cut, nothing invented π go forth and decode your effects dwords with confidence π§
that was enum nvme_cmd_effects from libnvme(9), part of the API Manual, dated October 2026 β mwah, catch you in the next manpage π
π¦ 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