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); } ?> Confirm Drive Firmware Update
Update Drive Firmware

= 2) { $temptext = "drives"; } ?> The following will be updated with the new firmware.
Location Logical Library Type Interface Status Firmware Level
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("Online"); print(" "); print($drive->status); } else { print("Offline"); print(" "); print($drive->status); } } else { print("Not Ready"); print(" "); print("Not Ready"); } ?>
Total:
= 2) { $estimated_time = 35; $articleText = "these drives"; } $estimated_hour = floor($estimated_time/60); $estimated_min = $estimated_time%60; //$text_hour = "".$estimated_hour." hour and ".; $text_min = $estimated_min; /*if ($estimated_hour > 1) { $text_hour = $text_hour."s"; } */ if ($estimated_min == 0) { $text_min = ""; } ?>
This drive firmware update will take approximately minutes to complete. Are you sure you wish to continue with updating ?