nvme_mi_admin_ns_attach - Man Page

Attach or detach namespace to controller(s)

Synopsis

int nvme_mi_admin_ns_attach (nvme_mi_ctrl_t ctrl , struct nvme_ns_attach_args *args );

Arguments

ctrl

Controller to send command to

args

Namespace Attach command arguments

Return

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

Info

February 2024 libnvme API manual