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
- 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