---
name: "nvme_id_ns_attr-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_id_ns_attr-libnvme3"
---

# nvme\_id\_ns\_attr-libnvme3(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.
