ndctlhas no functional difference. Physical NVDIMM features and options may be controlled through the system BIOS. The BIOS cannot see emulated NVDIMMs.
ndct list -D, or equivalent
ndct list --dimm, can be used to show active/enabled NVDIMM devices on the system, eg:
ndctlonly lists enabled/active dimms, regions, and namespaces. To include previously disabled (inactive) NVDIMMs, include the
-iflag to show both enabled and disabled devices, eg:
ndctl list -Dicommand:
-dimm <nmemX>option, eg:
sanitize-dimmcommand performs cryptographic destruction of the contents for the given NVDIMM. It scrambles the data and any metadata or info-blocks, but it doesn’t modify namespace labels. Therefore, any namespaces on regions associated with the given NVDIMM will be retained, but they will end up in the raw mode.