nvme_init_set_features_bp_write_protect-libnvme3(2)

nvme_init_set_features_bp_write_protect-libnvme32

Initialize passthru command for boot partition write protection config

Usage

void nvme_init_set_features_bp_write_protect (struct libnvme_passthru_cmd *cmd , bool sv , __u8 bp0wps , __u8 bp1wps );

Arguments

cmd

Passthru command to use

sv

Save value across power states

bp0wps

Boot Partition 0 Write Protection State (BP0WPS)

bp1wps

Boot Partition 1 Write Protection State (BP1WPS)

Overview

Initializes the passthru command buffer for the Set Features command with FID value NVME_FEAT_FID_BP_WRITE_PROTECT

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.