libnvme(9)
π libnvme(9) β the API Manual, bestie edition π
okay so real talk, this is a page from libnvme(9), the API manual, and it's all about one iconic little enum. buckle up π¦
β¨ NAME β¨
enum nvme_id_ns_rescap β literally "This field indicates the reservation capabilities of the namespace." that's it, that's the whole vibe. it's the reservation-capabilities glow-up list for a namespace π
πΈ SYNOPSIS πΈ
here's the whole squad, in order, no cap:
enum nvme_id_ns_rescap {
NVME_NS_RESCAP_PTPL ,
NVME_NS_RESCAP_WE ,
NVME_NS_RESCAP_EA ,
NVME_NS_RESCAP_WERO ,
NVME_NS_RESCAP_EARO ,
NVME_NS_RESCAP_WEAR ,
NVME_NS_RESCAP_EAAR ,
NVME_NS_RESCAP_IEK_13
};
eight constants, zero filler, we love to see it π
π«Ά Constants π«Ά
okay bestie, each one of these is a "if set" situation β like, if the bit is set, the namespace is telling you what it can do. every single one is an if-set, so don't come for me if it's zero, that just means no β¨
NVME_NS_RESCAP_PTPLβ if set, the namespace supports the Persist Through Power Loss capability. yes, surviving a power loss, main character energy fr fr β‘NVME_NS_RESCAP_WEβ if set, the namespace supports the Write Exclusive reservation type. iconic π₯NVME_NS_RESCAP_EAβ if set, the namespace supports the Exclusive Access reservation type. slay πNVME_NS_RESCAP_WEROβ if set, the namespace supports the Write Exclusive - Registrants Only reservation type. lowkey a whole mouthful but we respect it πNVME_NS_RESCAP_EAROβ if set, the namespace supports the Exclusive Access - Registrants Only reservation type. yes bestie, again, but exclusive-access flavoured πΈNVME_NS_RESCAP_WEARβ if set, the namespace supports the Write Exclusive - All Registrants reservation type. and the "all registrants" part? it's giving inclusivity πNVME_NS_RESCAP_EAARβ if set, the namespace supports the Exclusive Access - All Registrants reservation type. the seventh sibling, still eating πNVME_NS_RESCAP_IEK_13β if set, Ignore Existing Key is used as defined in revision 1.3 or later of this specification. note it: 1.3 or later, that's a version detail, don't lose it π
ngl all eight of these are just "if set" flags β the namespace is basically posting a capability story and these are the story highlights β¨
π the cute sign-off π
that's the page! this was enum nvme_id_ns_rescap from the libnvme(9) API Manual β and the date on the original footer was October 2026, so yeah, this info is from the future and still ate ππ
go check your namespace's rescap field, bestie, iykyk. periodt. π§β
π¦ 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