libnvme(9)
π NAME π
okay so bestie, welcome to nvme_id_ns_dpc β it's an enum, and honestly? it's the enum that tells you all about the capabilities for the end-to-end data protection feature. that's literally the whole vibe. end-to-end data protection β¨
πΈ SYNOPSIS πΈ
like, here's the whole shape of it, no cap:
enum nvme_id_ns_dpc {
NVME_NS_DPC_PI_TYPE1 ,
NVME_NS_DPC_PI_TYPE2 ,
NVME_NS_DPC_PI_TYPE3 ,
NVME_NS_DPC_PI_FIRST ,
NVME_NS_DPC_PI_LAST
};
that's it. five constants. iconic. π
π Constants π
okay so these are the members, and each one is a little "if set" situation β meaning the bit gets set, and then the namespace is telling you something. main character energy honestly π¦
NVME_NS_DPC_PI_TYPE1β if set (yup, "if set"), it means the namespace supports Protection Information Type 1. slay. β¨NVME_NS_DPC_PI_TYPE2β if set, the namespace supports Protection Information Type 2. two for two, we love to see it πNVME_NS_DPC_PI_TYPE3β if set, the namespace supports Protection Information Type 3. three icons, three types, periodt πNVME_NS_DPC_PI_FIRSTβ if set, it means the namespace supports protection information transferred as the first eight bytes of metadata. first! like a line leader πNVME_NS_DPC_PI_LASTβ if set, it means the namespace supports protection information transferred as the last eight bytes of metadata. saving the best for last fr fr π
ngl, every single one of these is an if set condition β so don't read them as "always true", read them as "true when the bit says so". the more you know π§
π«Ά little sign-off π«Ά
this whole thing lives in the API Manual β like, that's the manual name, bestie β and it's page libnvme(9), dated October 2026, and the title of the page is literally just enum nvme_id_ns_dpc. go off, little enum. π
bye bestie, go protect some data end-to-end ππ₯
π¦ 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