---
name: "nvme_id_ns_attr"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_id_ns_attr"
---

# nvme\_id\_ns\_attr(2)

Specifies attributes of the namespace.

## NAME

enum nvme\_id\_ns\_attr - Specifies attributes of the namespace.

## SYNOPSIS

enum nvme\_id\_ns\_attr {\
     **NVME\_NS\_NSATTR\_WRITE\_PROTECTED**

};

## Constants

- NVME\_NS\_NSATTR\_WRITE\_PROTECTED

  If set, then the namespace is currently write protected and all write access to the namespace shall fail.
