Skip to content

Commit

Permalink
bug: Fixing labelling on nvm format user data erase since it only mee…
Browse files Browse the repository at this point in the history
…ts clear

IEEE 2883 only labels NVM format with user data erase as meeting clear criteria, however nvm format with crypto erase can possibly be a purge if the vendor includes documentation saying it meets purge, so it was correct.

Signed-off-by: Tyler Erickson <tyler.erickson@seagate.com>
  • Loading branch information
vonericsen committed Aug 23, 2023
1 parent 25342ef commit 4db23e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/openseachest_util_options.c
Original file line number Diff line number Diff line change
Expand Up @@ -4003,7 +4003,7 @@ void print_NVM_Format_NSID_Help(bool shortHelp)

void print_NVM_Format_Secure_Erase_Help(bool shortHelp)
{
printf("\t--%s [none | user | crypto]\t(NVMe Only)\t(None | Clear, Possible Purge)\n", NVM_FORMAT_SECURE_ERASE_LONG_OPT_STRING);
printf("\t--%s [none | user | crypto]\t(NVMe Only)\t(None | Clear | Clear, Possible Purge)\n", NVM_FORMAT_SECURE_ERASE_LONG_OPT_STRING);
if (!shortHelp)
{
printf("\t\tThis option is used to specify the type of erase to perform\n");
Expand All @@ -4012,7 +4012,7 @@ void print_NVM_Format_Secure_Erase_Help(bool shortHelp)
printf("\t\tOptions:\n");
printf("\t\t none - no secure erase requested (previous data will not be accessible,\n");
printf("\t\t however the media may not have been erased by the controller.)\n");
printf("\t\t user - requests all user data is erased by the device. (Clear, Possible Purge)\n");
printf("\t\t user - requests all user data is erased by the device. (Clear)\n");
printf("\t\t crypto - requests a cryptographic erase of all user data. Note: this mode\n");
printf("\t\t is not supported on all devices. (Clear, Possible Purge)\n\n");
}
Expand Down
2 changes: 1 addition & 1 deletion utils/C/openSeaChest/openSeaChest_Erase.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
// Global Variables //
////////////////////////
const char *util_name = "openSeaChest_Erase";
const char *buildVersion = "4.3.4";
const char *buildVersion = "4.3.5";

typedef enum _eSeaChestEraseExitCodes
{
Expand Down

0 comments on commit 4db23e2

Please sign in to comment.