libnvme(9)
π 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
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms