libnvme(2)

πŸ’… NAME

enum nvme_cmd_format_pi β€” the Format NVM Protection Information enum, bestie. It's literally the vibe-check list for how a namespace wants its protection info set up. ✨


πŸ¦‹ SYNOPSIS

enum nvme_cmd_format_pi {
    NVME_FORMAT_PI_DISABLE ,
    NVME_FORMAT_PI_TYPE1 ,
    NVME_FORMAT_PI_TYPE2 ,
    NVME_FORMAT_PI_TYPE3

};

okay so it's an enum, no cap, and every member gets picked with a comma. That trailing blank line before the closing brace? iconic, she stays. πŸŽ€


🌸 Constants

These are the four moods. Pick one, that's the whole assignment. πŸ’–

  • NVME_FORMAT_PI_DISABLE β€” protection information is not enabled. she's giving minimalism, no shield, no checksum, just raw vibes.
  • NVME_FORMAT_PI_TYPE1 β€” protection information is enabled, Type 1. the guard is up, periodt.
  • NVME_FORMAT_PI_TYPE2 β€” protection information is enabled, Type 2. guard up again, different flavor, main character energy.
  • NVME_FORMAT_PI_TYPE3 β€” protection information is enabled, Type 3. third variation on the theme, still guarded, still slaying. πŸ‘‘
ngl bestie, that's the entire page β€” four constants, four conditions, and the enum wrapping them like a little bow πŸŽ€

okay that's a wrap on enum nvme_cmd_format_pi from the libnvme(2) API manual, version dated July 2026 β€” go forth, enable or disable that protection information, and be obsessed with yourself πŸ«ΆπŸ¦‹βœ¨

πŸ“¦ where this page comes from