libnvme(2)
π libnvme(2) β the API Manual, bestie edition π
okay so sit down, grab a boba, because we're doing a whole page from the libnvme manual, section 2 (that's the API manual, iykyk) π«Ά and it is tiny but it is ICONIC.
πΈ NAME πΈ
enum nvme_nd_ns_fpi β bestie, if a format operation is in progress, this field tells you the percentage of the namespace that still remains to be formatted. it's giving progress bar energy π
β¨ SYNOPSIS β¨
enum nvme_nd_ns_fpi {
NVME_NS_FPI_REMAINING ,
NVME_NS_FPI_SUPPORTED
};
yes the spacing is exactly like that, we don't edit the sacred texts π
π Constants π
NVME_NS_FPI_REMAININGβ this one is a mask π« you use it to get the format percent remaining value. like, the actual number of "how much formatting is left" lives in there and you mask it out. lowkey so useful πNVME_NS_FPI_SUPPORTEDβ if this bit is set, it means the namespace supports the Format Progress Indicator defined for the field π no cap, that's the whole flex.
π¦ ngl this is a short one, but every bit of it matters. two constants, one field, zero filler β¨
and that's the vibe check, bestie β this page came out of libnvme and it's dated July 2026 π so go forth and read your format progress indicators responsibly, mwah ππ
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms