libnvme(9)
π NAME π
okay so bestie, welcome to libnvme(9) β that's the API Manual vibe, we're in the big-kid docs now π«Ά β and this page is all about enum nvme_id_ctrl_rmdca, aka Restore Manufacturing Configuration Attributes β¨ like yes it's a long name, no I will not be shortening it, we respect the enum in this house π
πΈ SYNOPSIS πΈ
here's the whole squad, literally every member, no cap:
enum nvme_id_ctrl_rmdca {
NVME_CTRL_RMDCA_RDSCS_SHIFT ,
NVME_CTRL_RMDCA_RDSCS_MASK ,
NVME_CTRL_RMDCA_RDNCS_SHIFT ,
NVME_CTRL_RMDCA_RDNCS_MASK ,
NVME_CTRL_RMDCA_RDCCS_SHIFT ,
NVME_CTRL_RMDCA_RDCCS_MASK
};
six constants, all iconic, all essential, we love a complete set π
π Constants π
okay so these are the little shift-y and mask-y besties that let you dig the actual bits out of the struct nvme_id_ctrl.rmdca field β think of it as a scavenger hunt but the treasure is configuration flags π¦
NVME_CTRL_RMDCA_RDSCS_SHIFTβ the shift amount you use to pull out the Restore Default NVM Subsystem Configuration Supported (RDSCS) from thestruct nvme_id_ctrl.rmdcafield. shift it, slay it, read it π«NVME_CTRL_RMDCA_RDSCS_MASKβ the mask that gets you RDSCS. masking is self-care fr fr πΈNVME_CTRL_RMDCA_RDNCS_SHIFTβ the shift amount that gets you the Restore Default Namespace Configuration Supported (RDNCS). yes it's a different acronym, yes it matters, don't mix them up bestie πNVME_CTRL_RMDCA_RDNCS_MASKβ the mask that gets you RDNCS. periodt β¨NVME_CTRL_RMDCA_RDCCS_SHIFTβ the shift amount that gets you the Restore Default Capacity Management Configuration Supported (RDCCS). capacity management said main character energy πNVME_CTRL_RMDCA_RDCCS_MASKβ the mask that gets you RDCCS. last one, and she ate π
ngl the pattern is literally:SHIFTfor the shift amount,MASKfor the mask, three pairs, three capabilities β RDSCS, RDNCS, RDCCS. lowkey elegant, highkey useful π§
okay that's the whole page, you made it to the end, I'm obsessed with you π₯Ή so real quick, the official receipts: this was the enum nvme_id_ctrl_rmdca page from libnvme(9), dated October 2026 β go forth and shift those bits responsibly, bestie, mwah ππ
π¦ 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