Skip to content
Snippets Groups Projects
Commit fa6914dd authored by ballen4705's avatar ballen4705
Browse files

smartctl would previously print the LBA of a self-test if it completed, and

the LBA was not 0 or 0xff...f

However according to the specs this is not correct.  According to the specs, if
the self-test completed without error then LBA is undefined.  This version fixes that.


// T13/1321D revision 1c: (Data structure Rev #1)

      //The failing LBA shall be the LBA of the uncorrectable sector
      //that caused the test to fail. If the device encountered more
      //than one uncorrectable sector during the test, this field
      //shall indicate the LBA of the first uncorrectable sector
      //encountered. If the test passed or the test failed for some
      //reason other than an uncorrectable sector, the value of this
      //field is undefined.

      // This is true in ALL ATA-5 specs


git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@151 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 706c56d6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment