On 1/16/19 8:08 PM, Jane Chu wrote: > Hi, Dave, > > On 1/14/2019 12:07 PM, Dave Jiang wrote: >> Add support to secure erase to libndctl and also command line option >> of "sanitize-dimm" for ndctl. This will initiate the request to crypto >> erase a DIMM. >> >> Signed-off-by: Dave Jiang <dave.ji...@intel.com> >> --- >> Documentation/ndctl/Makefile.am | 3 +- >> Documentation/ndctl/ndctl-sanitize-dimm.txt | 38 ++++++++++++++++++++ >> ndctl/builtin.h | 1 + >> ndctl/dimm.c | 52 >> +++++++++++++++++++++++++++ >> ndctl/lib/dimm.c | 8 ++++ >> ndctl/lib/keys.c | 21 +++++++++-- >> ndctl/lib/libndctl.sym | 2 + >> ndctl/libndctl.h | 9 +++++ >> ndctl/ndctl.c | 1 + >> 9 files changed, 131 insertions(+), 4 deletions(-) >> create mode 100644 Documentation/ndctl/ndctl-sanitize-dimm.txt >> >> diff --git a/Documentation/ndctl/Makefile.am >> b/Documentation/ndctl/Makefile.am >> index a97f193d..bbea9674 100644 >> --- a/Documentation/ndctl/Makefile.am >> +++ b/Documentation/ndctl/Makefile.am >> @@ -51,7 +51,8 @@ man1_MANS = \ >> ndctl-enable-passphrase.1 \ >> ndctl-update-passphrase.1 \ >> ndctl-disable-passphrase.1 \ >> - ndctl-freeze-security.1 >> + ndctl-freeze-security.1 \ >> + ndctl-sanitize-dimm.1 >> CLEANFILES = $(man1_MANS) >> diff --git a/Documentation/ndctl/ndctl-sanitize-dimm.txt >> b/Documentation/ndctl/ndctl-sanitize-dimm.txt >> new file mode 100644 >> index 00000000..79629964 >> --- /dev/null >> +++ b/Documentation/ndctl/ndctl-sanitize-dimm.txt >> @@ -0,0 +1,38 @@ >> +// SPDX-License-Identifier: GPL-2.0 >> + >> +ndctl-sanitize-dimm(1) >> +====================== >> + >> +NAME >> +---- >> +ndctl-sanitize-dimm - sanitize the data on the NVDIMM >> + >> +SYNOPSIS >> +-------- >> +[verse] >> +'ndctl sanitize' <dimm> [<options>] > > Did you actually mean > 'ndctl sanitize-dimm' <dimm> [<options>] > ?
Yes. Thanks for the catch! > > thanks! > -jane > _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm