logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_ns_mgmt_delete - Delete a non attached namespace

Arguments

fd File descriptor of nvme device nsid Namespace identifier to delete

Description

It is recommended that a namespace being deleted is not attached to any controller. Use the nvme_ns_detach_ctrls first if the namespace is still attached.

Name

nvme_ns_mgmt_delete - Delete a non attached namespace

Return

The nvme command status if a response was received (see enumnvme_status_field) or -1 with errno set otherwise. August 2025 nvme_ns_mgmt_delete nvme_ns_mgmt_delete(2)

Synopsis

intnvme_ns_mgmt_delete(intfd,__u32nsid);

See Also