libnvmf\_context\_get\_persistent(9) libnvme API manual libnvmf\_context\_get\_persistent(9)

# [NAME](#NAME)

libnvmf\_context\_get\_persistent - Get the discovery controller persistence mode

# [SYNOPSIS](#SYNOPSIS)

**const char * libnvmf\_context\_get\_persistent** **(const struct libnvmf\_context \*fctx );**

# [ARGUMENTS](#ARGUMENTS)

[fctx](#fctx)

Fabrics context

# [RETURN](#RETURN)

"no", "auto", or "force" if explicitly configured; NULL if not (behaves the same as "no" when applied to a live connection, or if *fctx* is NULL).

libnvmf\_context\_get\_persistent October 2026

---

Document: libnvmf_context_get_persistent-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
