nvme_format_nvm2
Format nvme namespace(s)
Usage
int nvme_format_nvm (struct nvme_format_nvm_args *args );
Arguments
- args
-
struct nvme_format_nvme_args argument structure
Overview
The Format NVM command low level formats the NVM media. This command is used by the host to change the LBA data size and/or metadata size. A low level format may destroy all data and metadata associated with all namespaces or only the specific namespace associated with the command
Return
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.