libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… NAME πŸ’…

okay so bestie, welcome to enum nvme_cmd_format_pi β€” it's literally the Format NVM - Protection Information enum, and yes it lives in the libnvme(9) API manual, we're fancy now πŸŽ€


✨ SYNOPSIS ✨

enum nvme_cmd_format_pi {
    NVME_FORMAT_PI_DISABLE ,
    NVME_FORMAT_PI_TYPE1 ,
    NVME_FORMAT_PI_TYPE2 ,
    NVME_FORMAT_PI_TYPE3

};

that's the whole vibe, no cap 🫢


🌸 Constants 🌸

these are the four constants and honestly there are exactly four, so let's give each one its moment πŸ‘‘

  • NVME_FORMAT_PI_DISABLE β€” protection information is not enabled. it's giving "we're just raw-dogging the data, no PI today" πŸ™ˆ
  • NVME_FORMAT_PI_TYPE1 β€” protection information is enabled, and it's Type 1. slay πŸ’…
  • NVME_FORMAT_PI_TYPE2 β€” protection information is enabled, Type 2 this time. iconic, different flavor πŸ¦‹
  • NVME_FORMAT_PI_TYPE3 β€” protection information is enabled, Type 3, the last one, main character energy fr fr ⭐
ngl bestie, the descriptions above are the entire story β€” the manpage does not elaborate on what Type 1 vs Type 2 vs Type 3 actually do, so don't come for me, i'm just the messenger 😭 iykyk, go read the NVMe spec for the deep lore πŸ“š

🧚 sign-off 🧚

and that's the whole page, bestie!! this little cutie came from the enum nvme_cmd_format_pi page, part of libnvme(9) β€” the API Manual β€” dated October 2026. periodt πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from