Skip to content

Commit 5b21d84

Browse files
committed
Update Packaging and Testsuite scripts to reflect new directory structure
change executable name on PSIDRevert text file
1 parent 9004d1d commit 5b21d84

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

linux/PSIDRevert_LINUX.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ optional steps 0.b & 0.c will do this:
77
0.b chmod 0744 /sys/module/libata/parameters/allow_tpm
88
0.b echo "1" > /sys/module/libata/parameters/allow_tpm
99

10-
1. msed --scan <- SCAN to find Opal Drive (you should see Yes next the the drive
10+
1. setutil-cli --scan <- SCAN to find Opal Drive (you should see Yes next the the drive
1111
your working with.
12-
2. msed --query /dev/sd? <--this will show the Opal status look at the locking
12+
2. setutil-cli --query /dev/sd? <--this will show the Opal status look at the locking
1313
feature and see if it is Locked = Y
1414
or LockingEnabled = Y that's a good
1515
sign that this should work
16-
3.msed --yesIreallywanttoERASEALLmydatausingthePSID <PSIDALLCAPSNODASHES> /dev/sd?
16+
3.setutil-cli --yesIreallywanttoERASEALLmydatausingthePSID <PSIDALLCAPSNODASHES> /dev/sd?
1717

1818
4. You should see INFO: revertTper completed successfully.
1919
If you get a message that says NOT_AUTHORIZED you entered the PSID wrong.
2020

2121
If it doesn't work please execute the command in step 3 with a -vvvvv (5 v's) as the first option
2222
redirecting the output to a file and send it back to me.
2323
example:
24-
msed -vvvvv --yesIreallywanttoERASEALLmydatausingthePSID <PSIDALLCAPSNODASHES> /dev/sd? > revertlog.txt
24+
setutil-cli -vvvvv --yesIreallywanttoERASEALLmydatausingthePSID <PSIDALLCAPSNODASHES> /dev/sd? > revertlog.txt
2525

2626
Hope this helps.
2727
********************************************************************
@@ -31,7 +31,7 @@ The following is a sanitized log of the commands and expected responses.
3131
r0m30@r0m30-PC:~$ sudo -s
3232
root@r0m30-PC:~# chmod 0744 /sys/module/libata/parameters/allow_tpm
3333
root@r0m30-PC:~# echo "1" > /sys/module/libata/parameters/allow_tpm
34-
root@r0m30-PC:~# ./msed --scan
34+
root@r0m30-PC:~# ./setutil-cli --scan
3535

3636
Scanning for Opal 2.0 compliant disks
3737
/dev/sd0 No ATA KINGSTON SV100S21205
@@ -44,7 +44,7 @@ Scanning for Opal 2.0 compliant disks
4444
/dev/sd7 No Generic-MS/MS-Pro 1.00
4545
/dev/sd8 Yes ATA Crucial_CT120M50MU05
4646
No more disks present ending scan
47-
root@r0m30-PC:~# ./msed --query /dev/sd8
47+
root@r0m30-PC:~# ./setutil-cli --query /dev/sd8
4848
/dev/sd8 ATA ATA Crucial_CT120M50MU05
4949

5050
TPer function (0x0001)
@@ -60,7 +60,7 @@ DataStore function (0x0202)
6060
OPAL 2.0 function (0x0203)
6161
Base comID = 0x1000, Initial PIN = 0x0, Reverted PIN = 0x0, comIDs = 1
6262
Locking Admins = 4, Locking Users = 9, Range Crossing = N
63-
root@r0m30-PC:~# ./msed --yesIreallywanttoERASE*ALL*mydatausingthePSID <PSIDALLCAPSNODASHES> /dev/sd8
63+
root@r0m30-PC:~# ./setutil-cli --yesIreallywanttoERASE*ALL*mydatausingthePSID <PSIDALLCAPSNODASHES> /dev/sd8
6464
- 01:14:10.996 INFO: Performing a PSID Revert on /dev/sd8 with password <PSIDALLCAPSNODASHES>
6565
- 01:14:11.165 INFO: revertTper completed successfully
6666
root@r0m30-PC:~#

linux/Package.sh

100644100755
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
2-
rm msed_LINUX.tgz
3-
strip --strip-debug ../../dist/Release_i686/msed
4-
strip --strip-unneeded ../../dist/Release_i686/msed
5-
strip --strip-debug ../../dist/Release_x86_64/msed
6-
strip --strip-unneeded ../../dist/Release_x86_64/msed
7-
tar --xform 's,^,msed/,' -czf msed_LINUX.tgz *.txt *.sh ../*.txt -C ../../dist Release_i686/msed Release_x86_64/msed
2+
rm sedutil_LINUX.tgz
3+
strip --strip-debug ./CLI/dist/Release_i686/GNU-Linux-x86/sedutil-cli
4+
strip --strip-unneeded ./CLI/dist/Release_i686/GNU-Linux-x86/sedutil-cli
5+
strip --strip-debug ./CLI/dist/Release_x86_64/GNU-Linux-x86/sedutil-cli
6+
strip --strip-unneeded ./CLI/dist/Release_x86_64/GNU-Linux-x86/sedutil-cli
7+
tar --xform 's,^,sedutil/,' -czf sedutil_LINUX.tgz *.txt TestSuite.sh ./*.txt -C ./CLI/dist Release_i686/GNU-Linux-x86/sedutil-cli Release_x86_64/GNU-Linux-x86/sedutil-cli

linux/TestSuite.sh

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ read INOUT
1111
echo Last chance to hit Ctrl-c an keep the data on your drive
1212
read INPUT
1313
## test msed commands
14-
MSED=../../dist/Release_i686/msed
15-
##MSED=../../dist/Release_x86_64/msed
14+
MSED=./CLI/dist/Release_i686/GNU-Linux-x86/sedutil-cli
15+
##MSED=./CLI/dist/Release_x86_64/GNU-Linux-x86/sedutil-cli
1616
##MSED=./msed
1717
##MSED=echo
1818
LOGFILE=msed_test.baseline

0 commit comments

Comments
 (0)