1nvme_format_nvm(9) libnvme API manual nvme_format_nvm(9)
2
3
4
6 nvme_format_nvm - Format nvme namespace(s)
7
9 int nvme_format_nvm (struct nvme_format_nvm_args *args );
10
12 args struct nvme_format_nvme_args argument structure
13
15 The Format NVM command low level formats the NVM media. This command is
16 used by the host to change the LBA data size and/or metadata size. A
17 low level format may destroy all data and metadata associated with all
18 namespaces or only the specific namespace associated with the command
19
21 The nvme command status if a response was received (see enum nvme_sta‐
22 tus_field) or -1 with errno set otherwise.
23
24
25
26April 2023 nvme_format_nvm nvme_format_nvm(9)