libnvme(9)
π libnvme(9) β like, the API Manual bestie π
okay so this page is from the API Manual for libnvme β yes, that libnvme, the one you're literally already obsessed with β and today's main character is one very specific little enum. buckle up π¦
β¨ NAME β¨
enum nvme_nd_ns_fpi β bestie, this is the field that tells you: if a format operation is in progress, what percentage of the namespace is still left to be formatted. it's giving progress bar energy, fr fr π
πΈ SYNOPSIS πΈ
enum nvme_nd_ns_fpi {
NVME_NS_FPI_REMAINING ,
NVME_NS_FPI_SUPPORTED
};
like, that's the whole thing. two constants. no cap. π
π Constants π
NVME_NS_FPI_REMAININGβ this one is a mask to get the format percent remaining value. so you mask with it and boom, you've got your remaining percentage β¨NVME_NS_FPI_SUPPORTEDβ if this bit is set, it indicates that the namespace supports the Format Progress Indicator defined for the field. iykyk π
lowkey important: NVME_NS_FPI_REMAINING is a mask, not the value itself β mask first, then read the percent remaining. don't come for me if you skip that step π
and that's the whole page, bestie β short, sweet, and iconic π
sign-off time: this page is the enum nvme_nd_ns_fpi page, dated October 2026, and it lives in libnvme(9) β stay slay, stay formatted, and don't forget to check your progress indicator ππ§ββοΈ
π¦ 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