libnvme(9)
π libnvme(9) β the API Manual, but make it make sense π
okay so bestie, welcome to the API Manual for libnvme, and today's main character is this little enum that's all about boot partition info π¦ like, yes, we're going deep into the boot partition lore and honestly? obsessed.
β¨ NAME β¨
enum nvme_bpinfo β literally this field is the whole boot partition information situation π iykyk
πΈ SYNOPSIS πΈ
enum nvme_bpinfo {
NVME_BPINFO_BPSZ_SHIFT ,
NVME_BPINFO_BRS_SHIFT ,
NVME_BPINFO_ABPID_SHIFT ,
NVME_BPINFO_BPSZ_MASK ,
NVME_BPINFO_BRS_MASK ,
NVME_BPINFO_ABPID_MASK ,
NVME_BPINFO_BRS_NONE ,
NVME_BPINFO_BRS_READ_IN_PROGRESS ,
NVME_BPINFO_BRS_READ_SUCCESS ,
NVME_BPINFO_BRS_READ_ERROR
};
no cap, that's the whole lineup π copy it exactly, okay? these names are not vibe-flexible π
π₯ Constants π₯
bestie, here's every single one of them, in order, no skips, no cutting corners β periodt π
NVME_BPINFO_BPSZ_SHIFTβ the shift amount, and what does it shift? the boot partition size, that's what π«NVME_BPINFO_BRS_SHIFTβ shift amount that gets you the boot read status πNVME_BPINFO_ABPID_SHIFTβ shift amount for the active boot partition ID, main character energy fr βNVME_BPINFO_BPSZ_MASKβ the mask that pulls out the boot partition size πNVME_BPINFO_BRS_MASKβ the mask that pulls out the boot read status π§NVME_BPINFO_ABPID_MASKβ the mask that pulls out the active boot partition ID πNVME_BPINFO_BRS_NONEβ no boot partition read operation was requested, like, zero reads, none, nada π«ΆNVME_BPINFO_BRS_READ_IN_PROGRESSβ the boot partition read is in progress rn β³ (we're waiting, it's giving suspense)NVME_BPINFO_BRS_READ_SUCCESSβ boot partition read completed successfully, ate and left no crumbs β π₯NVME_BPINFO_BRS_READ_ERRORβ error completing the boot partition read ππ it happens to the best of us
lowkey reminder: these are constants in anenum, so keep the spellings exactly like that βBPSZ,BRS,ABPIDβ no renaming, no "fixing", no creative liberties π«Άβ¨
and that's the page bestie!! ππ that was the API Manual β libnvme(9) β dated October 2026, and yeah, the footer still says libnvme(9) too, because some things are iconic and stay iconic ππ
see you in the next manpage, 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