OS Manuals

libnvmf_config_get_hostid-libnvme3(2)

libnvmf_config_get_hostid - the top-level [Host] host ID.

libnvmf_config_get_hostid(9) libnvme API manual libnvmf_config_get_hostid(9)

libnvmf_config_get_hostid - the top-level [Host] host ID.

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

the resolved configuration

See libnvmf_config_get_hostnqn.

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).

libnvmf_config_get_hostid October 2026

nvme-cli 3.2-r0 · os · ingested 2026-10-31