---
name: "nvme_init_ns_mgmt_restore_default_config-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_ns_mgmt_restore_default_config-libnvme3"
---

# nvme\_init\_ns\_mgmt\_restore\_default\_config-libnvme3(2)

Initialize passthru command to restore the default NVM subsystem namespace configuration

## NAME

nvme\_init\_ns\_mgmt\_restore\_default\_config - Initialize passthru command to restore the default NVM subsystem namespace configuration

## SYNOPSIS

**void nvme\_init\_ns\_mgmt\_restore\_default\_config** **(struct libnvme\_passthru\_cmd \*cmd** *);*

## ARGUMENTS

- cmd

  Passthru command to use

## DESCRIPTION

Initializes the passthru command buffer for the Namespace Management - Restore Default Namespace Configuration operation (NVME\_NS\_MGMT\_SEL\_RESTORE\_DEFAULT\_CONFIG). The NSID field is unused for this operation and is cleared to 0h.
