Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_Basics.c
Original file line number Diff line number Diff line change
Expand Up @@ -1282,10 +1282,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_Configure.c
Original file line number Diff line number Diff line change
Expand Up @@ -2176,10 +2176,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_Defect.c
Original file line number Diff line number Diff line change
Expand Up @@ -1202,10 +1202,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_Erase.c
Original file line number Diff line number Diff line change
Expand Up @@ -1864,10 +1864,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_Firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -1038,10 +1038,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_Format.c
Original file line number Diff line number Diff line change
Expand Up @@ -1338,10 +1338,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_GenericTests.c
Original file line number Diff line number Diff line change
Expand Up @@ -1178,10 +1178,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
13 changes: 9 additions & 4 deletions utils/C/openSeaChest/openSeaChest_Info.c
Original file line number Diff line number Diff line change
Expand Up @@ -1024,10 +1024,15 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
// When a drive is behind a USB/SAT bridge, the standard drive info fields hold the bridge's SCSI identity
// while the actual drive's identity is stored in the bridge info (child MN/SN/FW). Prefer the child drive
// identity when it is available so the header shows the real drive.
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_Logs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1067,10 +1067,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_NVMe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1126,10 +1126,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_PassthroughTest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1140,10 +1140,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_PowerControl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1637,10 +1637,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_Raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1374,10 +1374,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_Reservations.c
Original file line number Diff line number Diff line change
Expand Up @@ -947,10 +947,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_SMART.c
Original file line number Diff line number Diff line change
Expand Up @@ -1216,10 +1216,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_Sample.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,10 +849,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_Security.c
Original file line number Diff line number Diff line change
Expand Up @@ -1435,10 +1435,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down
10 changes: 6 additions & 4 deletions utils/C/openSeaChest/openSeaChest_ZBD.c
Original file line number Diff line number Diff line change
Expand Up @@ -937,10 +937,12 @@ int main(int argc, char* argv[])

if (VERBOSITY_QUIET < toolVerbosity)
{
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name,
deviceList[deviceIter].drive_info.product_identification,
deviceList[deviceIter].drive_info.serialNumber, deviceList[deviceIter].drive_info.product_revision,
print_drive_type(&deviceList[deviceIter]));
const char* modelString = M_NULLPTR;
const char* serialString = M_NULLPTR;
const char* fwString = M_NULLPTR;
get_Device_Strings_For_Display(&deviceList[deviceIter], &modelString, &serialString, &fwString);
printf("\n%s - %s - %s - %s - %s\n", deviceList[deviceIter].os_info.name, modelString, serialString,
fwString, print_drive_type(&deviceList[deviceIter]));
}

#if defined(FEATURE_JSONOUTPUT_SUPPORT)
Expand Down