---
name: "nvme_init_get_features_ns_metadata-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/nvme_init_get_features_ns_metadata-libnvme3"
---

# nvme\_init\_get\_features\_ns\_metadata-libnvme3(2)

Initialize passthru command for Get Features - Namespace Metadata

## NAME

nvme\_init\_get\_features\_ns\_metadata - Initialize passthru command for Get Features - Namespace Metadata

## SYNOPSIS

**void nvme\_init\_get\_features\_ns\_metadata** **(struct libnvme\_passthru\_cmd \*cmd** *,* **enum nvme\_get\_features\_sel sel** *,* **struct nvme\_host\_metadata \*data** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- sel

  Select which type of attribute to return, see *enum nvme\_get\_features\_sel*

- data

  Host Metadata data buffer, see *struct nvme\_host\_metadata*

## DESCRIPTION

Initializes the passthru command buffer for the Get Features command with FID value NVME\_FEAT\_FID\_NS\_METADATA
