nvme_format_nvm - Man Page

Format nvme namespace(s)

Synopsis

int nvme_format_nvm (struct nvme_format_nvm_args *args );

Arguments

args

struct nvme_format_nvme_args argument structure

Description

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.

Info

August 2022 libnvme API manual