| 1 |
.TH "nvme_mi_admin_ns_attach" 9 "nvme_mi_admin_ns_attach" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_mi_admin_ns_attach \- Attach or detach namespace to controller(s) |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_mi_admin_ns_attach |
| 6 |
.BI "(nvme_mi_ctrl_t ctrl " "," |
| 7 |
.BI "struct nvme_ns_attach_args *args " ");" |
| 8 |
.SH ARGUMENTS |
| 9 |
.IP "ctrl" 12 |
| 10 |
Controller to send command to |
| 11 |
.IP "args" 12 |
| 12 |
Namespace Attach command arguments |
| 13 |
.SH "RETURN" |
| 14 |
The nvme command status if a response was received (see |
| 15 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |