libnvme(9)
π libnvme(9) π
okay so real talk β this is a page straight out of the API Manual for libnvme, and bestie, we're about to get so cozy with Level 0 Discovery feature codes π no cap, it's giving "small enum, big feelings."
β¨ NAME β¨
enum tcg_l0_code β Level 0 Discovery feature codes π
like literally, this is the whole list of feature codes you might stumble on when you peek at the Level 0 Discovery data. it's a little menu of what a TCG-capable drive can tell you about itself π¦
πΈ SYNOPSIS πΈ
enum tcg_l0_code {
TCG_L0_CODE_TPER ,
TCG_L0_CODE_LOCKING ,
TCG_L0_CODE_GEOMETRY ,
TCG_L0_CODE_OPAL_V1 ,
TCG_L0_CODE_SUM ,
TCG_L0_CODE_DATASTORE ,
TCG_L0_CODE_OPAL_V2 ,
TCG_L0_CODE_OPALITE ,
TCG_L0_CODE_PYRITE_V1 ,
TCG_L0_CODE_PYRITE_V2 ,
TCG_L0_CODE_RUBY ,
TCG_L0_CODE_LOCKING_LBA ,
TCG_L0_CODE_BLOCK_SID_AUTH ,
TCG_L0_CODE_CNL ,
TCG_L0_CODE_DATA_REMOVAL ,
TCG_L0_CODE_NS_GEOMETRY
};
look at that. sixteen constants, all lined up like they're waiting for the group photo πΈ and yes, keep the funny spacing with the space before those commas β that's literally how it's written, don't @ me π
π¦ Constants π¦
TCG_L0_CODE_TPERβ TPer feature. the main character itself, honestly πTCG_L0_CODE_LOCKINGβ Locking feature. the one holding the keys πTCG_L0_CODE_GEOMETRYβ Geometry Reporting feature. shapes! measurements! it's giving math class but make it storage πTCG_L0_CODE_OPAL_V1β Opal SSC V1.00 feature. the OG Opal era πTCG_L0_CODE_SUMβ Single User Mode feature. just you, no entourage πTCG_L0_CODE_DATASTOREβ Additional DataStore Tables feature. extra storage for your storage's lore πTCG_L0_CODE_OPAL_V2β Opal SSC V2.00 feature. the glow-up sequel β¨TCG_L0_CODE_OPALITEβ Opalite SSC feature. Opal but make it lite πTCG_L0_CODE_PYRITE_V1β Pyrite SSC V1.00 feature. shiny in a different way, ngl πTCG_L0_CODE_PYRITE_V2β Pyrite SSC V2.00 feature. round two, still sparkling βTCG_L0_CODE_RUBYβ Ruby SSC feature. red, rare, iconic πTCG_L0_CODE_LOCKING_LBAβ Locking LBA Ranges Control feature. locking, but make it ranges β the way that it scopes things out π₯TCG_L0_CODE_BLOCK_SID_AUTHβ Block SID Authentication feature. security check at the door, iykyk πͺTCG_L0_CODE_CNLβ Configurable Namespace Locking feature. namespaces that you can lock down to your taste π§TCG_L0_CODE_DATA_REMOVALβ Data Removal Mechanism feature. bye bye data, fr fr πTCG_L0_CODE_NS_GEOMETRYβ Namespace Geometry Reporting feature. geometry, but per-namespace β the details matter, periodt π
bestie note: these are just the codes β the enum labels themselves. it doesn't secretly do anything on its own, it's a naming thing π
π«Ά sign-off π«Ά
that's the whole page, muah π this lovely little enum landed in October 2026, lives under the name enum tcg_l0_code, and it's page libnvme(9) of the manual β go forth and vibe check those feature codes, queen πΈβ¨
π¦ 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