libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) β€” the API Manual, bestie edition πŸŽ€

Okay so real talk, this whole page lives in the libnvme(9) manual, and it's about one very specific little enum that tells you what kind of namespace identifier you're looking at. Sounds dry, I know, but it's literally the vibe check for NID fields. Stay with me. ✨


🌸 NAME 🌸

enum nvme_ns_id_desc_nidt β€” the known namespace identifier types, aka the list of "what flavor is this NID" answers πŸ‘‘


✨ SYNOPSIS ✨

enum nvme_ns_id_desc_nidt {
    NVME_NIDT_EUI64 ,
    NVME_NIDT_NGUID ,
    NVME_NIDT_UUID ,
    NVME_NIDT_CSI

};

That's the whole squad, no cap. Four constants, four vibes. 🫢


πŸ’– Constants πŸ’–

So each one of these is a possible value, and what it means is basically: "hey, the NID field is holding this kind of identifier." Iykyk. πŸ’«

  • NVME_NIDT_EUI64 β€” IEEE Extended Unique Identifier, bestie. When you see this, the NID field contains a copy of the EUI64 field in the struct nvme_id_ns.eui64. That's the whole tea. β˜•
  • NVME_NIDT_NGUID β€” Namespace Globally Unique Identifier, and yes that's a lot of capital letters, she's important. The NID field contains a copy of the NGUID field in struct nvme_id_ns.nguid. Main character energy fr. πŸ‘‘
  • NVME_NIDT_UUID β€” the iconic one, the one everybody knows. The NID field contains a 128-bit Universally Unique Identifier (UUID) as specified in RFC 4122. Not me being obsessed with a 128-bit number πŸ˜­πŸ’œ
  • NVME_NIDT_CSI β€” ngl this one's short and sweet: the NID field contains the command set identifier. That's it, that's the whole description, she ate and left no crumbs. πŸ’…

Lowkey important: these are constants inside the enum, so the exact spelling matters β€” NVME_NIDT_EUI64, NVME_NIDT_NGUID, NVME_NIDT_UUID, NVME_NIDT_CSI. Don't be out here free-styling the names, bestie, the compiler will absolutely clock you. πŸ’€

And that's the page!! 🌈 This was enum nvme_ns_id_desc_nidt from the libnvme API Manual, dated October 2026 β€” so like, remember to check for a newer version if you're reading this from the future, mwah πŸŽ€πŸ¦‹ see you in the next manpage, ily!! πŸ’–

πŸ“¦ where this page comes from