nvme\_init\_ns\_mgmt\_restore\_default\_config(9) libnvme API manual nvme\_init\_ns\_mgmt\_restore\_default\_config(9)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

# [DESCRIPTION](#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.

nvme\_init\_ns\_mgmt\_restore\_default\_config October 2026

---

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