# NDCTL User Guide

## Introduction

`ndctl` is a utility for managing the Linux LIBNVDIMM Kernel subsystem. It is designed to work with various non-volatile memory devices (NVDIMMs) from different vendors. The LIBNVDIMM subsystem defines a kernel device model and control message interface for platform NVDIMM resources like those defined by the [ACPI v6.0](http://www.uefi.org/sites/default/files/resources/ACPI_6_0_Errata_A.PDF) NFIT (**N**VDIMM **F**irmware **I**nterface **T**able). The latest [ACPI ](http://www.uefi.org/specifications)and [UEFI ](http://www.uefi.org/specifications)specifications can be found at [uefi.org](http://www.uefi.org). Operations supported by `ndctl` include:

* Provisioning capacity (namespaces)
* Enumerating Devices
* Enabling and Disabling NVDIMMs, Regions, and Namespaces
* Managing NVDIMM Labels

## What's new in v68

This release incorporates functionality up to the 5.6 kernel.

Highlights for this release include new commands to read-infoblock and write-infoblock, improvements and tests related to alignment constraints, misc build/compilation related fixes, and misc usability and documentation fixes.

Commands:&#x20;

* [zero-labels](/ndctl-user-guide/v68/ndctl-man-pages/ndctl-zero-labels.md): display an error if regions are active&#x20;
* destroy-namespace: fix seed namespace accounting&#x20;
* [list](/ndctl-user-guide/v68/ndctl-man-pages/ndctl-list.md): drop named list objects from verbose listing&#x20;
* \*-namespace: emit better errors on failure&#x20;
* [read-infoblock](/ndctl-user-guide/v68/ndctl-man-pages/ndctl-read-infoblock.md): new command to read an infoblock&#x20;
* [write-infoblock](/ndctl-user-guide/v68/ndctl-man-pages/ndctl-write-infoblock.md): new command to create and write an infoblock

APIs:&#x20;

* ndctl\_namespace\_get\_target\_node&#x20;
* ndctl\_namespace\_is\_configuration\_idle&#x20;
* ndctl\_region\_get\_align
* ndctl\_region\_get\_target\_node&#x20;
* ndctl\_region\_set\_align


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pmem.io/ndctl-user-guide/v68/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
