summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_id_ctrl_nwpc.2
blob: e7d5db3803507d318a6a703033b5326532c49a51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.TH "libnvme" 9 "enum nvme_id_ctrl_nwpc" "August 2024" "API Manual" LINUX
.SH NAME
enum nvme_id_ctrl_nwpc \- This field indicates the optional namespace write protection capabilities supported by the controller.
.SH SYNOPSIS
enum nvme_id_ctrl_nwpc {
.br
.BI "    NVME_CTRL_NWPC_WRITE_PROTECT"
, 
.br
.br
.BI "    NVME_CTRL_NWPC_WRITE_PROTECT_POWER_CYCLE"
, 
.br
.br
.BI "    NVME_CTRL_NWPC_WRITE_PROTECT_PERMANENT"

};
.SH Constants
.IP "NVME_CTRL_NWPC_WRITE_PROTECT" 12
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.
.IP "NVME_CTRL_NWPC_WRITE_PROTECT_POWER_CYCLE" 12
If set, then the controller
supports the Write Protect Until
Power Cycle state.
.IP "NVME_CTRL_NWPC_WRITE_PROTECT_PERMANENT" 12
If set, then the controller
supports the Permanent Write
Protect state.