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 March 2024