nvme_mi_admin_format_nvm(2) | libnvme API manual | nvme_mi_admin_format_nvm(2) |
nvme_mi_admin_format_nvm - Format NVMe namespace
int nvme_mi_admin_format_nvm (nvme_mi_ctrl_t ctrl , struct nvme_format_nvm_args *args );
Perform a low-level format to set the LBA data & metadata size. May destroy data & metadata on the specified namespaces
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
nvme_mi_admin_format_nvm | January 2023 |