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