libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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