libnvme(9)

πŸ“¦ version 3.2, in arch rolling

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

okay so real talk, this page is from the libnvme API manual (yes, that libnvme πŸ’–) and it's literally all about one enum. one. iconic little enum. let's get into it πŸŽ€


✨ NAME ✨

enum nvme_lbart β€” the LBA Range Type Data Structure Entry. that's it, that's the whole vibe. it's giving "small but mighty" πŸ¦‹


✨ SYNOPSIS ✨

enum nvme_lbart {
    NVME_LBART_TYPE_GP ,
    NVME_LBART_TYPE_FS ,
    NVME_LBART_TYPE_RAID ,
    NVME_LBART_TYPE_CACHE ,
    NVME_LBART_TYPE_SWAP ,
    NVME_LBART_ATTRB_LBARO_SHIFT ,
    NVME_LBART_ATTRB_HLBAR_SHIFT ,
    NVME_LBART_ATTRB_LBARO_MASK ,
    NVME_LBART_ATTRB_HLBAR_MASK ,
    NVME_LBART_ATTRIB_TEMP ,
    NVME_LBART_ATTRIB_HIDE

};

no cap, that's the exact declaration. copy it character for character or don't come at me πŸ™ˆ


✨ Constants ✨

okay so here's every single constant, and yes we're doing all of them, nobody gets left behind 🫢

  • NVME_LBART_TYPE_GP β€” General Purpose. the "just vibing, no specific job" of LBA ranges πŸ’œ
  • NVME_LBART_TYPE_FS β€” Filesystem. your files live here, main character energy fr fr 🌸
  • NVME_LBART_TYPE_RAID β€” RAID. redundancy slay πŸ”₯
  • NVME_LBART_TYPE_CACHE β€” Cache. speed boost, we love her ⭐
  • NVME_LBART_TYPE_SWAP β€” Page / swap file. the swap girlies stay winning πŸ’€
  • NVME_LBART_ATTRB_LBARO_SHIFT β€” LBA range overwriteable shift. it's a shift, it shifts, we respect it ✨
  • NVME_LBART_ATTRB_HLBAR_SHIFT β€” Hide LBA range shift. same energy, but hiding 🧚
  • NVME_LBART_ATTRB_LBARO_MASK β€” LBA range overwriteable mask. masking era 🎭
  • NVME_LBART_ATTRB_HLBAR_MASK β€” Hide LBA range mask. the hiding-est mask of them all πŸ‘‘
  • NVME_LBART_ATTRIB_TEMP β€” Temp. temporary queen, here for a good time not a long time πŸ“
  • NVME_LBART_ATTRIB_HIDE β€” Hidden. you can't see her, she's not here πŸ’…
and that's genuinely the whole list β€” eleven constants, zero skips, no summaries, we ate and left no crumbs 😭


and that's the page bestie πŸ’– from libnvme, that's the enum nvme_lbart fam, dated October 2026 β€” see you in the next manpage, mwah πŸŽ€βœ¨πŸŒˆ

πŸ“¦ where this page comes from