libnvme(9)
π 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
- 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