libnvme(2)
β¨ NAME β¨
okay bestie, welcome to libnvme(2) π this one's short and sweet and I'm obsessed with it actually.
enum nvme_sanitize_sanact β Sanitize Action. that's it, that's the whole vibe. it's the enum that tells your NVMe drive which kind of sanitize operation you're asking for. lowkey iconic. π§
πΈ SYNOPSIS πΈ
here's the shape of it, character for character, no cap:
enum nvme_sanitize_sanact {
NVME_SANITIZE_SANACT_EXIT_FAILURE ,
NVME_SANITIZE_SANACT_START_BLOCK_ERASE ,
NVME_SANITIZE_SANACT_START_OVERWRITE ,
NVME_SANITIZE_SANACT_START_CRYPTO_ERASE ,
NVME_SANITIZE_SANACT_EXIT_MEDIA_VERIF
};
five constants, all up in there. π
π Constants π
one bullet per constant, because we do NOT skip details in this household:
NVME_SANITIZE_SANACT_EXIT_FAILUREβ Exit Failure Mode. πͺ like, we're bailing out of the failure state, periodt.NVME_SANITIZE_SANACT_START_BLOCK_ERASEβ Start a Block Erase sanitize operation. π§Ή blocks? erased. bye.NVME_SANITIZE_SANACT_START_OVERWRITEβ Start an Overwrite sanitize operation. βοΈ just writing over everything, main character energy.NVME_SANITIZE_SANACT_START_CRYPTO_ERASEβ Start a Crypto Erase sanitize operation. πβ¨ cryptographic erase, the way that it just vaporizes the key, iykyk.NVME_SANITIZE_SANACT_EXIT_MEDIA_VERIFβ Exit Media Verification State. π€ exiting the media verification state, we're done here bestie.
ngl, every single one of these is a sanitize action constant β that's the whole point of the enum, so don't get it twisted. and yes, NVME_SANITIZE_SANACT_EXIT_MEDIA_VERIF in the original has no trailing comma and no period on its description, so I'm not adding one. consistency π
and that's the whole page!! go forth and sanitize responsibly, bestie π«Ά
sign-off time: this page is enum nvme_sanitize_sanact from the libnvme(2) manual, dated July 2026 β slay, mwah πππ¦
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms