libnvme(9)
π 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
- 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