libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) β€” the enum nvme_id_ctrl_bpcap glow-up

okay so real talk, bestie: this page lives in the libnvme manual, section 9, and it's all about one little enum that tells you what your NVMe controller can do with Boot Partition Write Protection. it's giving "small but mighty" ✨ no cap, it's a short one, so let's devour it πŸ“


🌸 NAME 🌸

enum nvme_id_ctrl_bpcap β€” Boot Partition Capabilities. that's it, that's the whole name, and she ate πŸ’…


✨ SYNOPSIS ✨

here's the whole enum, copied exactly because we do not play with syntax πŸ™ˆ

enum nvme_id_ctrl_bpcap {
    NVME_CTRL_BPCAP_RPMBBPWPS_SHIFT ,
    NVME_CTRL_BPCAP_SFBPWPS_SHIFT ,
    NVME_CTRL_BPCAP_RPMBBPWPS_MASK ,
    NVME_CTRL_BPCAP_SFBPWPS_MASK ,
    NVME_CTRL_BPCAP_RPMBBPWPS_NOT_SPECIFIED ,
    NVME_CTRL_BPCAP_RPMBBPWPS_NOT_SUPPORTED ,
    NVME_CTRL_BPCAP_RPMBBPWPS_SUPPORTED

};

like, yes, there's a lil blank line before the closing brace. we keep it. it's part of her personality πŸŽ€


πŸ¦‹ Constants πŸ¦‹

seven of them. every single one. let's go πŸ”₯

  • NVME_CTRL_BPCAP_RPMBBPWPS_SHIFT β€” this is the shift amount, i.e. how far you gotta slide over to pull the RPMB Boot Partition Write Protection Support out of the struct nvme_id_ctrl.bpcap field. bit-shifting era πŸ’«
  • NVME_CTRL_BPCAP_SFBPWPS_SHIFT β€” same vibe, different bit: the shift amount for getting the Set Features Boot Partition Write Protection Support out of that same struct nvme_id_ctrl.bpcap field 🫢
  • NVME_CTRL_BPCAP_RPMBBPWPS_MASK β€” the mask you use to get the RPMB Boot Partition Write Protection Support from the struct nvme_id_ctrl.bpcap field. mask on, facts out πŸ’…
  • NVME_CTRL_BPCAP_SFBPWPS_MASK β€” and the mask for the Set Features Boot Partition Write Protection Support, also from struct nvme_id_ctrl.bpcap. iconic pair, honestly πŸ‘‘
  • NVME_CTRL_BPCAP_RPMBBPWPS_NOT_SPECIFIED β€” the controller literally did not say. support for RPMB Boot Partition Write Protection is not specified. mysterious main character energy πŸ•΅οΈβ€β™€οΈ
  • NVME_CTRL_BPCAP_RPMBBPWPS_NOT_SUPPORTED β€” nope, this controller does not support RPMB Boot Partition Write Protection. it said no ❌
  • NVME_CTRL_BPCAP_RPMBBPWPS_SUPPORTED β€” slay!! this controller does support RPMB Boot Partition Write Protection. green flags only βœ…
ngl bestie, that's the whole page. three "what it is" constants and three "what it means" constants, all hanging off the bpcap field of struct nvme_id_ctrl. iykyk πŸ’–

and that's a wrap on the enum nvme_id_ctrl_bpcap page from the libnvme(9) manual β€” dated October 2026, and the footer said enum nvme_id_ctrl_bpcap / libnvme(9), so we're closing the group chat exactly the way we opened it πŸŽ€ bye bestie, go read your bpcap bits responsibly πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from