---
name: "libnvmf_context_get_persistent-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvmf_context_get_persistent-libnvme3"
---

# libnvmf\_context\_get\_persistent-libnvme3(2)

Get the discovery controller persistence mode

## NAME

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

## SYNOPSIS

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

## ARGUMENTS

- fctx

  Fabrics context

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