format: Format a NVM namespace#

xnvme format --help
Usage: xnvme format <uri> [<args>]

Format a NVM namespace

Where <args> include:

  uri                           ; Device URI e.g. '/dev/nvme0n1', '0000:01:00.1', '10.9.8.1.8888', '\\.\PhysicalDrive1'
  [ --nsid 0xNUM ]              ; Namespace Identifier for Command Construction
  [ --lbaf 0xNUM ]              ; LBA Format
  [ --zf 0xNUM ]                ; Zone Format
  [ --mset 0xNUM ]              ; Metadata settings. Off=0x0, On=0x1
  [ --ses 0xNUM ]               ; Secure Erase setting. No=0x0, UserData=0x1, Cryptographic=0x2
  [ --pi 0xNUM ]                ; Protection Information. Off=0x0, Type1/2/3=0x1/0x2/0x3
  [ --pil 0xNUM ]               ; Protection Information Location. Last=0x0, First=0x1
  [ --dev-nsid 0xNUM ]          ; Namespace Identifier for Device Handle
  [ --be STRING ]               ; xNVMe backend, e.g. 'linux', 'spdk', 'fbsd', 'posix', 'windows'
  [ --admin STRING ]            ; xNVMe admin. command-interface, e.g. 'nvme', 'block'
  [ --help ]                    ; Show usage / help

See 'xnvme --help' for other commands

xNVMe - Cross-platform NVMe utility -- ver: {major: 0, minor: 4, patch: 0}