libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ¦‹ NAME

okay bestie, so this is page libnvme(9) from the API Manual β€” literally the whole manual name is right there in the corner, iykyk β€” and today's main character is:

struct nvme_zns_desc β€” the Zone Descriptor Data Structure ✨

That's it. That's the vibe. It's giving "this struct knows exactly what it is."


🌸 SYNOPSIS

okay so here's the whole thing, and you know I'm copying it exactly, character for character, because I would never do my bestie dirty like that:

struct nvme_zns_desc {
    __u8 zt;
    __u8 zs;
    __u8 za;
    __u8 zai;
    __u8 rsvd4[4];
    __le64 zcap;
    __le64 zslba;
    __le64 wp;
    __u8 rsvd32[32];
 };

Look at her. All those fields lined up like a little outfit. πŸ’…


πŸŽ€ Members

honestly? every member here is iconic in their own way. let's get into it:

  • zt β€” Zone Type Attributes, no cap. ZT is bits 3:0, and if you need more lore, see enum nvme_zns_zt.
  • zs β€” Zone State Attributes, and yes the name is lowercase but the bits are loud. ZS is bits 7:4, see enum nvme_zns_zs.
  • za β€” Zone Attributes, periodt. see enum nvme_zns_za for the details.
  • zai β€” Zone Attributes Information, see enum nvme_zns_zai.
  • rsvd4 β€” Reserved πŸ™ˆ (aka not your business, bestie, leave it alone)
  • zcap β€” Zone Capacity πŸ’–
  • zslba β€” Zone Start Logical Block Address, she's the main character of addresses fr fr
  • wp β€” Write Pointer ✨
  • rsvd32 β€” Reserved again πŸ’€ (also not your business)
alright quick vibe check: rsvd4 and rsvd32 are Reserved β€” that's all the manual says and that's all I'm gonna say. Don't go making up behaviour for them, bestie. 🫢

🌈 a lil sign-off

this page is struct nvme_zns_desc, dated October 2026, and it lives under the libnvme(9) manual β€” so if you're out here reading manpages at 2am, just know she said what she said. slay, study, and cite your enums. πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from