libnvmf_config_get_hostid-libnvme3(2)

libnvmf_config_get_hostid-libnvme32

The top-level [host] host id.

Usage

const char * libnvmf_config_get_hostid (const struct libnvmf_config *config );

Arguments

config

the resolved configuration

Overview

See libnvmf_config_get_hostnqn.

Return

borrowed string, valid while config is alive, or NULL when the top-level file names no host ID (the caller falls back to the system identity in /etc/nvme/hostid).

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