Skip to content

Commit

Permalink
quick: setting purge note for revert and revertSP
Browse files Browse the repository at this point in the history
While revert and revertSP are not yet available in openSeaChest, I'm merging the notes that these perform purge for opal, opalite, ruby, and Seagate enterprise SEDs.

Signed-off-by: Tyler Erickson <[email protected]>
  • Loading branch information
vonericsen committed Aug 24, 2023
1 parent 4db23e2 commit e3efcfb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/openseachest_util_options.c
Original file line number Diff line number Diff line change
Expand Up @@ -619,11 +619,13 @@ void print_Writesame_Range_Help(bool shortHelp)

void print_Revert_Help(bool shortHelp)
{
printf("\t--%s\n", TCG_REVERT_LONG_OPT_STRING);
printf("\t--%s\t(Purge)\n", TCG_REVERT_LONG_OPT_STRING);
if (!shortHelp)
{
printf("\t\tThis operation performs an Opal SSC spec Revert on the adminSP.\n");
printf("\t\tThis operation is only available on Seagate TCG Opal drives.\n");
printf("\t\tRevert meets data sanitization purge capabilities to erase data\n");
printf("\t\tfor Opal, Opalite, and Ruby SSCs\n");
printf("\t\tThe --%s flag can be provided to perform the revert with\n", TCG_PSID_LONG_OPT_STRING);
printf("\t\tthe PSID authority in case of a lost password.\n");
printf("\t\tThe --%s flag can be provided to perform the revert with SID.\n", TCG_SID_LONG_OPT_STRING);
Expand All @@ -641,11 +643,15 @@ void print_Revert_Help(bool shortHelp)

void print_RevertSP_Help(bool shortHelp)
{
printf("\t--%s\n", TCG_REVERT_SP_LONG_OPT_STRING);
printf("\t--%s\t(Purge)\n", TCG_REVERT_SP_LONG_OPT_STRING);
if (!shortHelp)
{
printf("\t\tThis operation performs a revertSP on a Seagate SED drive\n");
printf("\t\tin the adminSP with the PSID.\n");
printf("\t\tRevertSP meets data sanitization purge capabilities to erase data\n");
printf("\t\tfor Opal, Opalite, and Ruby SSCs\n");
printf("\t\tRevertSP also meets data sanitization purge capabilities to erase data\n");
printf("\t\ton Seagate TCG Enterprise SSC HDDs\n");
printf("\t\tThe PSID must be provided using the --%s option.\n", TCG_PSID_LONG_OPT_STRING);
printf("\t\tThis operation is available on all Seagate SED HDD drives and some SSDs.\n");
printf("\t\tUpon completion, the drive will be \"like new\" with all\n");
Expand Down

0 comments on commit e3efcfb

Please sign in to comment.