nvme_init_sanitize_nvm(9)
π NAME π
nvme_init_sanitize_nvm β initialize passthru command to start a sanitize operation β¨
okay so bestie, you're on the nvme_init_sanitize_nvm(9) page from the libnvme API manual, and this whole page is about setting up the passthru command so it can start a sanitize operation π
β¨ SYNOPSIS β¨
void nvme_init_sanitize_nvm (struct libnvme_passthru_cmd *cmd , enum
nvme_sanitize_sanact sanact , bool ause , __u8 owpass , bool oipbp ,
bool ndas , bool emvs , bool preq , __u32 ovrpat );
π ARGUMENTS π
cmdβ the passthru command you're using π«Άsanactβ the sanitize action; seeenum nvme_sanitize_sanactπauseβ set this to allow unrestricted sanitize exit π¦owpassβ overwrite pass count πΈoipbpβ set to overwrite invert pattern between passes π₯ndasβ set to not deallocate blocks after sanitizing πemvsβ set to enter media verification state βpreqβ set to require the sanitize operation to purge user data, as defined by IEEE Std 2883, or fail πovrpatβ overwrite pattern π
π¦ DESCRIPTION π¦
Think of it as the setup step: it initializes the passthru command buffer for the Sanitize NVM command, periodt π
no cap, preq is the one carrying the IEEE Std 2883 requirement and the "or fail" energy β handle with care π
that's the tea from the libnvme API manual, October 2026 edition, page nvme_init_sanitize_nvm(9) β periodt πβ¨
π¦ 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