libnvme(2)
π libnvme(2) β the API manual, but make it make sense π
okay bestie, welcome to libnvme(2), the API manual π today we're looking at one tiny lil enum and honestly? she's lowkey iconic. it's giving "three constants and a dream" β¨ let's get into it π«Ά
β¨ NAME β¨
enum nvme_lockdown_log_contents β the lockdown log page content attributes π
like, it's the enum that tells you what kind of thing you're reading out of the lockdown log page. that's the whole vibe, no cap.
β¨ SYNOPSIS β¨
enum nvme_lockdown_log_contents {
NVME_LOCKDOWN_SUPPORTED_CMD ,
NVME_LOCKDOWN_PROHIBITED_CMD ,
NVME_LOCKDOWN_PROHIBITED_OUTOFBAND_CMD
};
look at her. three members, all up in there, exactly as written. don't touch, don't "fix" the spacing, she's perfect π
β¨ Constants β¨
these are the actual content values, kay? each one is a different flavored answer to "what's in this lockdown log entry":
NVME_LOCKDOWN_SUPPORTED_CMDβ Content value for Supported commands π the "yep, you're allowed, go off queen" bucket.NVME_LOCKDOWN_PROHIBITED_CMDβ Content value for prohibited commands π« the "no bestie, absolutely not" bucket.NVME_LOCKDOWN_PROHIBITED_OUTOFBAND_CMDβ Content value for prohibited side band commands π΅ the "no, and especially not from over there" bucket, i.e. commands blocked when they come in via side band. iykyk.
fr fr, those three descriptions are the entire story here. no hidden lore, no secret defaults, just three content values doing their little jobs πΈ
and that's the whole page, bestie. short, sweet, and absolutely ate π this was pulled from the enum nvme_lockdown_log_contents API manual page, source/version libnvme(2), dated July 2026. periodt. ππβ
π¦ 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