libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) β€” the API Manual, but make it make sense

okay so bestie, you opened the libnvme(9) page and it's literally the API Manual, and the whole thing is about one enum. one. iconic behavior honestly. it's giving "small but mighty" and we're gonna learn it together 🫢


✨ NAME ✨

enum nvme_lba_status_atype β€” this is the action type the controller uses when it's returning LBA status. that's it. that's the whole vibe check πŸ’…


🌸 SYNOPSIS 🌸

here's the shape of it, no cap, copy it exactly as it is:

enum nvme_lba_status_atype {
    NVME_LBA_STATUS_ATYPE_ALLOCATED ,
    NVME_LBA_STATUS_ATYPE_SCAN_UNTRACKED ,
    NVME_LBA_STATUS_ATYPE_TRACKED

};

like, yes there's a lil blank line before the closing brace. that's just how it is. we respect it πŸŽ€


πŸ‘‘ Constants πŸ‘‘

three constants, three moods, all of them valid. let's go one by one:

  • NVME_LBA_STATUS_ATYPE_ALLOCATED β€” this one returns the status of the tracked allocated LBAs. tracked + allocated, that's the whole assignment. slay ✨
  • NVME_LBA_STATUS_ATYPE_SCAN_UNTRACKED β€” this one actually goes and performs a scan, then hands you back the status for Untracked and Tracked Potentially Unrecoverable LBAs</> β€” yeah it's a mouthful, but it's the real name, don't come for me 😭 untracked AND tracked-potentially-unrecoverable, both, together, in one status. main character energy fr fr πŸ”₯
  • NVME_LBA_STATUS_ATYPE_TRACKED β€” this returns the Tracked Potentially Unrecoverable LBAs that are associated with physical storage. tracked, potentially unrecoverable, tied to physical storage. that's the assignment, and it ate πŸ’€
ngl these three are basically the same sentence with different toppings, so the move is: read the constant name, match it to the exact wording above, don't improvise. the facts are the facts bestie πŸ™ˆ

πŸ¦‹ the cute sign-off πŸ¦‹

and that's the page!! this lil gem is dated October 2026, it lives under the title enum nvme_lba_status_atype, and the manual it belongs to is libnvme(9) β€” which, as established at the top, is the API Manual. periodt πŸ’–βœ¨πŸ§š

go forth and return some LBA status, you absolute icon πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from