HomeFreeBSD

MFC r350563: Add `nvmecontrol sanitize` command.

Description

MFC r350563: Add nvmecontrol sanitize command.

It allows to delete all user data from NVM subsystem in one of 3 methods.
It is a close equivalent of SCSI SANITIZE command of camcontrol sanitize,
so I tried to keep arguments as close as possible.

While there, fix supported sanitize methods reporting in identify.

MFC after: yes

Details

Provenance
mavAuthored on
Parents
rS350950: MFC r350555: Fix parameter check broken at r350057.
Branches
Unknown
Tags
Unknown