libnvme(9)

πŸ“¦ version 3.2, in arch rolling

🌸 libnvme(9) β€” enum nvme_ns_attach_sel 🌸

okay bestie, so this is a page straight out of the libnvme API manual (the 9 is literally right there in the name, iykyk), and it's about a tiny lil enum that tells you whether you're attaching a namespace or detaching it. that's it. that's the whole vibe. let's get into it πŸ’…


✨ NAME ✨

enum nvme_ns_attach_sel β€” Namespace Attachment - Select

like, it's the selector thingy for namespace attachment. the "which one am i doing" of it all πŸŽ€


✨ SYNOPSIS ✨

enum nvme_ns_attach_sel {
    NVME_NS_ATTACH_SEL_CTRL_ATTACH ,
    NVME_NS_ATTACH_SEL_CTRL_DEATTACH

};

no cap, that's the whole thing. two constants, zero drama πŸ¦‹


✨ Constants ✨

okay so here's the actual menu of options, and honestly? it's giving "two buttons" energy. iconic.

  • NVME_NS_ATTACH_SEL_CTRL_ATTACH β€” Namespace attach selection. it's the "yes bb come thru, you're joining the controller" pick πŸ’–
  • NVME_NS_ATTACH_SEL_CTRL_DEATTACH β€” Namespace detach selection. and this one's the "okay actually, we're removing the namespace from the controller" pick 😭

that's genuinely all of them, bestie β€” no hidden flags, no secret defaults, nothing lurking. a clean little enum. we love to see it 🫢


and that's the whole page, fr fr ✨ this masterpiece is from the libnvme API manual, dated October 2026, and it shipped as part of the libnvme(9) family β€” so if you ever need the namespace attach/detach selector, you know exactly where to find it. mwah πŸ’‹πŸ‘‘

πŸ“¦ where this page comes from