libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– 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