nvme_id_ctrl_nwpc(2)

nvme_id_ctrl_nwpc2

This field indicates the optional namespace write protection capabilities supported by the controller.

Usage

enum nvme_id_ctrl_nwpc {
NVME_CTRL_NWPC_WRITE_PROTECT ,

NVME_CTRL_NWPC_WRITE_PROTECT_POWER_CYCLE ,

NVME_CTRL_NWPC_WRITE_PROTECT_PERMANENT

};

Constants

NVME_CTRL_NWPC_WRITE_PROTECT

If set, then the controller shall support the No Write Protect and Write Protect namespace write protection states and may support the Write Protect Until Power Cycle state and Permanent Write Protect namespace write protection states.

NVME_CTRL_NWPC_WRITE_PROTECT_POWER_CYCLE

If set, then the controller supports the Write Protect Until Power Cycle state.

NVME_CTRL_NWPC_WRITE_PROTECT_PERMANENT

If set, then the controller supports the Permanent Write Protect state.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From libnvme-dev 1.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.