libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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