| NVME-RPMB-WRITE-D(1) | NVMe Manual | NVME-RPMB-WRITE-D(1) |
NAME
nvme-rpmb-write-data - Write authenticated data to an RPMB target
SYNOPSIS
nvme [<global-options>] rpmb write-data <device>
[--msgfile=<data-file> | -f <data-file>]
[--msg=<data> | -d <data>]
[--keyfile=<key-file> | -g <key-file>]
[--key=<key> | -k <key>]
[--address=<offset> | -o <offset>]
[--blocks=<512 byte sectors> | -b <sectors>]
[--target=<target-id> | -t <target-id>]
DESCRIPTION
Supports authenticated data writing to the specified RPMB target, at the given sector offset, using the authentication key previously programmed with nvme rpmb program-key for that target.
If the requested size is not within the total size supported by the target, the request fails without being sent to the device.
The <device> parameter is mandatory and an NVMe character device (ex: /dev/nvme0) must be specified.
OPTIONS
-t <target>, --target=<target>
-o <offset>, --address=<offset>
-b <sectors>, --blocks=<sectors>
-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-data /dev/nvme0 -t 0 -f input.bin -b 200 -k 'SecretKey'
NVME
Part of the nvme-user suite
| 09/07/2026 | NVMe |