libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) β€” bestie's field guide to the C API πŸ’…

okay so this is a page straight out of the libnvme section 9 manual, and today's main character is a lil enum called tcg_l0_data_removal_flags. yes it's niche. yes it's iconic. let's get into it 🫢


✨ NAME ✨

enum tcg_l0_data_removal_flags β€” the Data Removal Mechanism feature flags, no cap. that's literally the whole assignment πŸ’–


🌸 SYNOPSIS 🌸

here's the shape of it, bestie β€” copy it exactly, don't @ me:

enum tcg_l0_data_removal_flags {
    TCG_L0_DATA_REMOVAL_PROCESSING ,
    TCG_L0_DATA_REMOVAL_INTERRUPTED

};

two members. that's it. that's the whole enum. lowkey obsessed with how tidy it is πŸŽ€


πŸ¦‹ Constants πŸ¦‹

so these are the actual values you'll be working with β€” a little two-for-one special πŸ’…

  • TCG_L0_DATA_REMOVAL_PROCESSING β€” the data removal operation is in progress right now, like literally happening as we speak ⏳πŸ”₯
  • TCG_L0_DATA_REMOVAL_INTERRUPTED β€” the data removal operation got interrupted 😭 bestie it stopped mid-quest

ngl these two flags are a whole vibe check on your drive: either it's still going, or something cut it off. there is no third option, and that's on periodt πŸ’€

and that's the page, bestie!! 🌈 this little slice of libnvme(9) came to you courtesy of the API Manual β€” version vibes from October 2026, no less β­πŸ™ˆ go forth and slay your storage stack, mwah πŸ’œπŸ§š

πŸ“¦ where this page comes from