1nvme_set_features_write_protectl(i9b)nvme API mannuvamle_set_features_write_protect(9)
2
3
4
6 nvme_set_features_write_protect - Set write protect feature
7
9 int nvme_set_features_write_protect (int fd , enum nvme_feat_nsw‐
10 pcfg_state state , bool save , __u32 *result );
11
13 fd File descriptor of nvme device
14
15 state Write Protection State
16
17 save Save value across power states
18
19 result The command completion result from CQE dword0
20
22 The nvme command status if a response was received (see enum nvme_sta‐
23 tus_field) or -1 with errno set otherwise.
24
25
26
27November 2022 nvme_set_features_wrintvem_ep_rsoette_cfteatures_write_protect(9)