nvme_init_ns_attach_ctrls-libnvme3(2)

nvme_init_ns_attach_ctrls-libnvme32

Initialize passthru command to attach namespace to controllers

Usage

void nvme_init_ns_attach_ctrls (struct libnvme_passthru_cmd *cmd , __u32 nsid , struct nvme_ctrl_list *ctrlist );

Arguments

cmd

Passthru command to use

nsid

Namespace ID to attach

ctrlist

Controller list buffer to modify attachment state of nsid

Overview

Initializes the passthru command buffer for the Namespace Attach command (NVME_NS_ATTACH_SEL_CTRL_ATTACH).

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