nvme_ns_attach(2) libnvme API manual nvme_ns_attach(2)

nvme_ns_attach - Attach or detach namespace to controller(s)

int nvme_ns_attach (struct nvme_ns_attach_args *args );

struct nvme_ns_attach_args Argument structure

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

nvme_ns_attach January 2025