nvme_init_format_nvm-libnvme3(2)

nvme_init_format_nvm-libnvme32

Initialize passthru command for format nvm

Usage

void nvme_init_format_nvm (struct libnvme_passthru_cmd *cmd , __u32 nsid , __u8 lbaf , enum nvme_cmd_format_mset mset , enum nvme_cmd_format_pi pi , enum nvme_cmd_format_pil pil , enum nvme_cmd_format_ses ses );

Arguments

cmd

Passthru command to use

nsid

Namespace ID to format

lbaf

Logical block address format

mset

Metadata settings (extended or separated)

pi

Protection information type

pil

Protection information location (beginning or end)

ses

Secure erase settings

Overview

Initializes the passthru command buffer for the Format NVM command.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.