libnvme(9)
π libnvme(9) β API Manual, bestie edition β¨
Okay so this is a page from libnvme(9), aka the API Manual, and it's all about one lil enum that tells you how a drive can wipe your data. Yes, we're talking data removal mechanisms. It's giving "spring cleaning but make it firmware." Let's get into it π
NAME πΈ
enum tcg_l0_data_removal_mechanism β the supported data removal mechanisms, like the menu of ways your storage can say "new phone who dis" to your data π«Ά
SYNOPSIS π¦
Here's the whole enum, typed out exactly, no edits, no notes:
enum tcg_l0_data_removal_mechanism {
TCG_L0_DATA_REMOVAL_OVERWRITE ,
TCG_L0_DATA_REMOVAL_BLOCK_ERASE ,
TCG_L0_DATA_REMOVAL_CRYPTO_ERASE ,
TCG_L0_DATA_REMOVAL_VENDOR_ERASE
};
Literally that's it, that's the whole vibe check π
Constants π
TCG_L0_DATA_REMOVAL_OVERWRITE
Overwrite data erase β¨ like literally writing over the old stuff until it's gone. Classic, dependable, iconic.
TCG_L0_DATA_REMOVAL_BLOCK_ERASE
Block erase π§ blocks get erased, data goes bye-bye. Simple as that, no cap.
TCG_L0_DATA_REMOVAL_CRYPTO_ERASE
Cryptographic erase π₯ the crypto girlies know β erase via cryptography. Highkey my favorite, it's giving main character energy.
TCG_L0_DATA_REMOVAL_VENDOR_ERASE
Vendor specific erase π this one's the vendor's own special little method. Their house, their rules, iykyk.
Okay bestie real talk: those four constants are the entire list, and every single one has to stay exactly like that βTCG_L0_DATA_REMOVAL_OVERWRITE,TCG_L0_DATA_REMOVAL_BLOCK_ERASE,TCG_L0_DATA_REMOVAL_CRYPTO_ERASE, andTCG_L0_DATA_REMOVAL_VENDOR_ERASE. Don't be out here renaming them, I'm begging π
And that's the whole page, bestie! Mwah π This was libnvme(9), the API Manual, dated October 2026, and it ate, no crumbs. Go forth and erase responsibly ππ
π¦ 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