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