1nvme_set_features_write_protectl(i9b)nvme API mannuvamle_set_features_write_protect(9)
2
3
4

NAME

6       nvme_set_features_write_protect - Set write protect feature
7

SYNOPSIS

9       int  nvme_set_features_write_protect  (int  fd  ,  enum  nvme_feat_nsw‐
10       pcfg_state state , bool save , __u32 *result );
11

ARGUMENTS

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

DESCRIPTION

22       Deprecated: doesn't  support  specifying  a  NSID.   Use  nvme_set_fea‐
23       tures_write_protect2 instead.
24

RETURN

26       The  nvme command status if a response was received (see enum nvme_sta‐
27       tus_field) or -1 with errno set otherwise.
28
29
30
31October 2023            nvme_set_features_wrintvem_ep_rsoette_cfteatures_write_protect(9)
Impressum