location:$drive->name:$drive->mediaType:$drive->status:$drive->firmwareLevel"; $driveLoc[$i] = $driveInfo[0]; $driveLib[$i] = $driveInfo[1]; $driveType[$i] = $driveInfo[2]; $driveState[$i] = $driveInfo[3]; $driveLevel[$i] = $driveInfo[4]; $driveInterface[$i] = $driveInfo[5]; if ($driveLocs == "") { $driveLocs = $driveLoc[$i]; } else { $driveLocs = $driveLocs.":$driveLoc[$i]"; } $i++; } error_log("Drive Locs leaving drv fw update ==>".$driveLocs); } ?>
| $temptext = " drive"; if ($numRows >= 2) { $temptext = "drives"; } ?> The following =$temptext;?> will be updated with the new firmware. |
| Location | Logical Library | Type | Interface | Firmware Level | Status |
|---|---|---|---|---|---|
| =$driveLoc[$i];?> | =$driveLib[$i];?> | =$driveType[$i];?> | =$driveInterface[$i];?> | =$driveLevel[$i];?> |
$drive;
$sortCriteria->sortColumn = DRV_SORT_LOC;
$sortCriteria->ascending = true;
$drives = get_all_drives($user, $sortCriteria);
foreach ($drives as $tmpDrive)
{
if ($tmpDrive->location == $driveLoc[$i])
{
$drive = $tmpDrive;
}
}
if ($drive->isReady)
{
if ($drive->status == "Online")
{
print(" ");
print(" ");
print($drive->status);
}
else
{
print(" ");
print(" ");
print($drive->status);
}
}
else
{
print(" ");
print(" ");
print("Not Ready");
}
?>
|
| Total: =$numRows;?> |
| This drive firmware update will take approximately =$text_min;?>+ minutes to complete. Are you sure you wish to continue with updating =$articleText;?>? | ||||
|
|