[--owpass=<overwrite-pass-count> | -n <overwrite-pass-count>]
[--ause | -u] [--sanact=<action> | -a <action>]
[--ovrpat=<overwrite-pattern> | -p <overwrite-pattern>]
- [--force]
+ [--emvs | -e] [--force]
[--output-format=<fmt> | -o <fmt>] [--verbose | -v]
DESCRIPTION
|0x02 \| 'start-block-erase'| Start a Block Erase sanitize operation
|0x03 \| 'start-overwrite'| Start an Overwrite sanitize operation
|0x04 \| 'start-crypto-erase'| Start a Crypto Erase sanitize operation
+|0x05 \| 'exit-media-verification'| Exit Media Verification State
|=================
-p <overwrite-pattern>::
specifies a 32-bit pattern that is used for the Overwrite
sanitize operation.
+-e::
+--emvs::
+ Enter Media Verification State:
+ If set, then the Media Verification state shall be entered if sanitize
+ processing completes successfully. If cleared, then this bit shall have
+ no effect. If SANACT field does not specify starting a sanitize operation
+ (i.e., is set to any value other than 010b, 011b, or 100b), then this bit
+ shall be ignored by the controller.
+
--force::
Ignore namespace is currently busy and performed the operation
even though.
-n':alias of --owpass'
--ause':Allow unrestricted sanitize exit'
-u':alias of --ause'
- --sanact=':Sanitize action: 1 = Exit failure mode, 2 = Start block erase, 3 = Start overwrite, 4 = Start crypto erase'
+ --sanact=':Sanitize action: 1 = Exit failure mode, 2 = Start block erase, 3 = Start overwrite, 4 = Start crypto erase, 5 = Exit media verification'
-a':alias of --sanact'
--ovrpat=':Overwrite pattern'
-p':alias of --ovrpat'
+ --emvs=':Enter media verification state'
+ -e':alias of --emvs'
)
_arguments '*:: :->subcmds'
_describe -t commands "nvme sanitize options" _sanitize
;;
"sanitize")
opts+=" --no-dealloc -d --oipbp -i --owpass= -n \
- --ause -u --sanact= -a --ovrpat= -p"
+ --ause -u --sanact= -a --ovrpat= -p --emvs= -e"
case $opt in
--sanact|-a)
- vals+=" exit-failure start-block-erase start-overwrite start-crypto-erase"
+ vals+=" exit-failure start-block-erase start-overwrite \
+ start-crypto-erase exit-media-verification"
;;
esac
;;