libnvme(9)
π NAME π
okay so bestie, this is enum nvme_feat_bpwp_state β aka the Boot Partition Write Protection State π
that's it. that's the whole vibe. it's the enum that tells you what the boot partition's write protection is doing rn π¦
β¨ SYNOPSIS β¨
enum nvme_feat_bpwp_state {
NVME_FEAT_BPWPS_CHANGE_NOT_REQUESTED ,
NVME_FEAT_BPWPS_WRITE_UNLOCKED ,
NVME_FEAT_BPWPS_WRITE_LOCKED ,
NVME_FEAT_BPWPS_WRITE_LOCKED_PWR_CYCLE ,
NVME_FEAT_BPWPS_WRITE_PROTECTION_RPMB
};
like. five states. five little moods your boot partition can be in π and every single one of them is listed below, no skips, no cuts, periodt.
πΈ Constants πΈ
NVME_FEAT_BPWPS_CHANGE_NOT_REQUESTEDβ literally nobody asked for a state change. change in state not requested. it's giving "we're good, we're chilling, don't touch me" πNVME_FEAT_BPWPS_WRITE_UNLOCKEDβ Write Unlocked β¨ the boot partition is open for business, writes go through, main character energy fr fr.NVME_FEAT_BPWPS_WRITE_LOCKEDβ Write Locked π no writes. absolutely not. the door is shut and it is NOT answering.NVME_FEAT_BPWPS_WRITE_LOCKED_PWR_CYCLEβ Write Locked Until Power Cycle β‘ locked rn, but a power cycle frees it. so likeβ¦ temporarily unbothered, but make it hardware.NVME_FEAT_BPWPS_WRITE_PROTECTION_RPMBβ Write Protection controlled by RPMB π the RPMB is running the show here. not us. never us. it's the one holding the clipboard.
ngl bestie, these are the only five values β if you're looking for a sixth, she doesn't exist, and we are not manifesting one π
so yeah. that's the enum. five states, zero drama (okay, a little drama, it's write protection after all) π
and before i go β this whole page is from the API Manual for libnvme(9), dated August 2026 π«Ά ty for reading my little enum rant, mwah, slay, bye πβ¨
π¦ where this page comes from
- fedora 44: libnvme-doc 1.16.2-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms