libnvme(9)
π libnvme(9) β literally the API Manual, bestie
Okay so grab a strawberry drink π and sit down, because we're about to talk about one (1) enum and honestly? It's lowkey iconic.
β¨ NAME β¨
enum nvme_mfg_default_config_status_mdcs β the Manufacturer Default Configuration Status log page, specifically the Manufacturer Default Configuration Status part, aka MDCS (iykyk). This is a page out of the libnvme(9) API Manual, and yes, we are going to read it together like the main characters we are. π
πΈ SYNOPSIS πΈ
enum nvme_mfg_default_config_status_mdcs {
NVME_MDCS_DSCS_SHIFT ,
NVME_MDCS_DSCS_MASK ,
NVME_MDCS_DNCS_SHIFT ,
NVME_MDCS_DNCS_MASK ,
NVME_MDCS_DCCS_SHIFT ,
NVME_MDCS_DCCS_MASK
};
That's the whole vibe. Six constants, zero drama. Copy it exactly, bestie β don't go "fixing" the spacing, it's giving artifact of the source, and we respect it. π«Ά
π Constants π
Six little constants, each one a tiny legend. Here's the tea on every single one of them β no skips, no "lol you get the idea", we're doing all six. β¨
NVME_MDCS_DSCS_SHIFTβ the shift amount you use to get the Default NVM Subsystem Configuration Status (DSCS). It's the "how far do I slide over" number, and honestly it's doing the most. πNVME_MDCS_DSCS_MASKβ the mask to get DSCS. Slide and mask, the classic duo, we love a two-step. πNVME_MDCS_DNCS_SHIFTβ the shift amount to get the Default Namespace Configuration Status (DNCS). Different status, same energy. πΈNVME_MDCS_DNCS_MASKβ the mask to get DNCS. Yes bestie, it's the matching pair, we stan a matched set. π¦NVME_MDCS_DCCS_SHIFTβ the shift amount to get the Default Capacity Configuration Status (DCCS). Third status, still slaying. π₯NVME_MDCS_DCCS_MASKβ the mask to get DCCS. Last one, and it ate, no cap. π
Fr fr: three statuses (DSCS, DNCS, DCCS), each with a_SHIFTand a_MASK. Three shifts, three masks, six constants total. That's the entire page. Don't let anyone tell you otherwise. π
and that's the whole manpage, bestie β you understood it, you ate, periodt. π§β¨
So like, shoutout to the libnvme(9) API Manual, and this little drop landed in October 2026 β that's the date at the bottom of the page, and the source/version line is literally just libnvme(9) being its usual self. Bye bestie, go mask some bits responsibly ππ
π¦ 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