DOKK / manpages / debian 13 / libnvme-dev / nvme_id_ns_attr.2.en
libnvme(2) API Manual libnvme(2)

enum nvme_id_ns_attr - Specifies attributes of the namespace.

enum nvme_id_ns_attr {
NVME_NS_NSATTR_WRITE_PROTECTED

};

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