carta
libnvmf_exclusion_add-libnvme3(2)

libnvmf_exclusion_add-libnvme32

Append an entry to a named list (atomic write).

Usage

int libnvmf_exclusion_add (struct libnvme_global_ctx *ctx , const char *name , const char *entry );

Arguments

ctx

libnvme global context; must not be NULL

name

list name

entry

semicolon-separated key=value string (e.g. "transport=tcp;traddr=192.168.1.1")

Overview

Creates the list if it does not exist. Validates the entry for unknown keys before writing; returns -EINVAL if the entry is invalid.

Return

0 on success, negative errno otherwise.

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