| NVME-RPMB-WRITE-C(1) | NVMe Manual | NVME-RPMB-WRITE-C(1) |
NAME
nvme-rpmb-write-config - Write the RPMB device configuration block
SYNOPSIS
nvme [<global-options>] rpmb write-config <device>
[--msgfile=<data-file> | -f <data-file>]
[--msg=<data> | -d <data>]
[--keyfile=<key-file> | -g <key-file>]
[--key=<key> | -k <key>]
DESCRIPTION
Writes 512 bytes of device configuration block data to RPMB target 0 of the NVMe device, authenticated with the key previously programmed with nvme rpmb program-key.
The <device> parameter is mandatory and an NVMe character device (ex: /dev/nvme0) must be specified.
OPTIONS
-k <key>, --key=<key>, -g <key-file>, --keyfile=<key-file>
-f <data-file>, --msgfile=<data-file>
-d <data>, --msg=<data>
GLOBAL OPTIONS
The following options are defined at the top-level nvme command and are available to this subcommand:
--dry-run
--no-ioctl-probing
--no-retries
-o <fmt>, --output-format=<fmt>
--output-format-version=<version>
--timeout=<ms>
-v, --verbose
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file.
EXAMPLES
# nvme rpmb write-config /dev/nvme0 -f config.bin -k 'SecretKey'
NVME
Part of the nvme-user suite
| 09/07/2026 | NVMe |