libnvme(9)
π libnvme(9) β the API Manual, bestie edition β¨
Okay so like, welcome to the glow-up of the libnvme man page β specifically the one about enum nvme_sanitize_sanact, aka the Sanitize Action enum. Yes, we're talking about sanitizing your NVMe drive. Not a skincare routine, but honestly? Same energy. It's giving "clean slate, main character reset" π«§β¨
πΈ NAME πΈ
enum nvme_sanitize_sanact β Sanitize Action π«
Like, it's literally an enum that tells you what kind of sanitize action we're doing. That's the whole vibe. π
π SYNOPSIS π
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
};
Look at that list. Five little icons, all lined up, all ready to be used. No cap, this is the whole roster. π§
β¨ Constants β¨
Bestie, here's the cast of characters β every single one, no skips, fr fr:
NVME_SANITIZE_SANACT_EXIT_FAILUREβ Exit Failure Mode. Yeah, we're bailing out of failure mode. It's giving "we don't do that here" energy πNVME_SANITIZE_SANACT_START_BLOCK_ERASEβ Start a Block Erase sanitize operation. Block erase! Like a little β¨select all + deleteβ¨ for your storage. Iconic.NVME_SANITIZE_SANACT_START_OVERWRITEβ Start an Overwrite sanitize operation. Just straight-up overwriting everything. No subtlety, no crumbs, just full-on replacement π«ΆNVME_SANITIZE_SANACT_START_CRYPTO_ERASEβ Start a Crypto Erase sanitize operation. Crypto erase, aka the cool mysterious one that does the thing with the thing π₯ iykykNVME_SANITIZE_SANACT_EXIT_MEDIA_VERIFβ Exit Media Verification State. We're leaving the media verification state, bestie. Doors open, we out π
Heads up, angel: I'm telling you exactly what the original says and nothing more β no extra lore, no invented behaviour, periodt. π
And that's a wrap on our little enum tour! This page is from October 2026, part of the libnvme(9) docs β so like, screenshot it, save it, live by it. 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