Changes 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. Revision history for Disk-SMART
  2. 0.12 2015-05-02
  3. Added get_disk_list() to detect sdX and hdX devices
  4. Changed new() to use get_disk_list() if no device list is passed to it
  5. Changed shell call to 'which' to use File::Which
  6. Changed update_data() to take a list of devices
  7. 0.11 2014-11-24
  8. Updated POD
  9. Code cleanup.
  10. Added extended output to get_disk_health() that will report any values > 1 from specific attributes that show impending drive failure
  11. 0.10 2014-10-18
  12. Updated regex to get disk temperature to look for two different lines that could contain temp
  13. Corrected get_disk_attributes() to return hash correctly on Perl < 5.14
  14. 0.09 2014-10-17
  15. Minor changes to get unit tests to pass on smokers
  16. Added testing of env parameter for smartctl path, which will enable multi OS support
  17. Added COMPATABILITY pod section
  18. 0.08 2014-10-16
  19. Corrected test data var name in new();
  20. 0.07 2014-10-15
  21. Implemented dummy testing in unit tests to bypass the need for smokers having smartctl installed
  22. Regex and function cleanups
  23. Added run_short_test() to run the SMART short self test and unit tests for it
  24. 0.06 2014-10-09
  25. Fixed issue with N/A disk temp not returning correctly and causing failure
  26. 0.05 2014-10-08
  27. Separated out data processing from the getter methods. Getter methods now only return hash data.
  28. Added methods and unit tests for update_data() and get_disk_attributes(). update_data() can be called at any point in a calling script to update the drive data. This makes it where Disk::SMART can be used in a script called by cron, or a continuously running daemon.
  29. Updated MANIFEST to include LICENSE file
  30. Changes to satisfy perl critic
  31. Simplified get_disk_temp with substr to read the disk temp
  32. 0.04 2014-10-06
  33. Updated Makefile.PL to better interact with Meta::CPAN
  34. Updated pod for clarity
  35. 0.03 2014-10-04
  36. Added Math::Round to dependency list in Makefile.PL. Credit - Syohei YOSHIDA.
  37. Refactored methods to return N/A first before any further proessing is done
  38. Cleaned up unit tests
  39. get_disk_model() only outputs just the model information now.
  40. Added get_disk_errors()
  41. Methods now validate the device passed to it, to ensure smartctl has already read it
  42. Added unit tests to test passing invalid device to methods
  43. Changed to croak() as I didn't feel a trace was necessary with proper error returning
  44. 0.02 2014-10-03
  45. Added confess to new() in case smartctl cannot find the specified device
  46. 0.01 2014-10-03
  47. First version, released on an unsuspecting world.