Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Seagate's ST9160821AS drive encodes something strange in attribute 9 | Lennart Poettering | 2009-04-23 | 1 | -1/+10 |
| | | | | | | | | Attribute 9 of ST9160821AS apparently is not the power on time in hours. Since we have no idea what it is and how it is encoded this adds a quirk to mark the attribute as 'unknown' for this drive. See rhbz #497107. | ||||
* | don't claim we would know what reallocated-event-count actually is | Lennart Poettering | 2009-04-23 | 1 | -3/+2 |
| | | | | | | | | We don't reliably know what this actually is on many drives and since it is redundant to reallocated-sectors-count it's no loss to admit that we have no clue. See rhbz #497107. | ||||
* | use only uppermost 32 bits for reallocated-sectors-count attribute pretty value | Lennart Poettering | 2009-04-23 | 1 | -0/+2 |
| | | | | | | | | | This seems to fix the attribute for Fujitsu drives. And those 32 bit should be enough to still encode bad sectors up to 2TB which should be more than enough. Hence it is probably safe to ignore the remaing 16 bit even on non-Fujitsu drives. See rhbz #496087. | ||||
* | Support for JMicron ATA/USB bridges | Lennart Poettering | 2009-04-22 | 1 | -13/+144 |
| | |||||
* | don't look for reallocated-sector-count since some vendors seem to encode ↵ | Lennart Poettering | 2009-04-15 | 1 | -2/+1 |
| | | | | this differently than others | ||||
* | only use 'prefail' attributes for overall status | Lennart Poettering | 2009-04-15 | 1 | -1/+1 |
| | |||||
* | when dumping status print message when SMART is not supported | Lennart Poettering | 2009-04-14 | 1 | -1/+2 |
| | |||||
* | when dealing with unknown block device type don't confuse with sunplus device | Lennart Poettering | 2009-04-14 | 1 | -1/+10 |
| | |||||
* | don't depend on udev's ID_BUS variable when figuring out device type | Lennart Poettering | 2009-04-14 | 1 | -37/+25 |
| | |||||
* | initialize cmd data before passing it to the scsi ioctls | Lennart Poettering | 2009-04-14 | 1 | -0/+2 |
| | |||||
* | add new API sk_disk_smart_get_power_cycle() | Lennart Poettering | 2009-04-14 | 1 | -4/+48 |
| | |||||
* | do a basic all-NUL check for the identify data before accepting it is valid | Lennart Poettering | 2009-04-12 | 1 | -0/+14 |
| | |||||
* | revamp blob serialization and include smart status field | Lennart Poettering | 2009-04-10 | 1 | -65/+249 |
| | |||||
* | minor cleanup | Lennart Poettering | 2009-04-09 | 1 | -3/+2 |
| | |||||
* | deal with ATA/USB truncation | Lennart Poettering | 2009-04-09 | 1 | -2/+4 |
| | |||||
* | add support for sunplus usb/ata bridges | Lennart Poettering | 2009-04-09 | 1 | -20/+170 |
| | |||||
* | use O_NONBLOCK mode when opening device | Lennart Poettering | 2009-04-07 | 1 | -1/+7 |
| | |||||
* | fix parsing of awake status | Lennart Poettering | 2009-04-07 | 1 | -1/+3 |
| | |||||
* | make sure we don't choke on attribute id 255 | Lennart Poettering | 2009-04-05 | 1 | -1/+1 |
| | |||||
* | define type string for 'unknown' | Lennart Poettering | 2009-04-05 | 1 | -2/+2 |
| | |||||
* | remove | chars that are too much from regexp | Lennart Poettering | 2009-04-03 | 1 | -2/+2 |
| | |||||
* | fix parsing of power-on-minutes | Lennart Poettering | 2009-04-03 | 1 | -1/+1 |
| | |||||
* | open the disk device in O_RDONLY, let's see how compatible that is | Lennart Poettering | 2009-04-03 | 1 | -1/+1 |
| | |||||
* | make sure the blob data is packed. it's certainly packed anyway, but let's ↵ | Lennart Poettering | 2009-04-03 | 1 | -1/+1 |
| | | | | better be safe than sorry | ||||
* | add functions to save/load smart data blobs directly | Lennart Poettering | 2009-04-02 | 1 | -81/+200 |
| | |||||
* | copy in new quirk table from smartmontools | Lennart Poettering | 2009-03-24 | 1 | -52/+82 |
| | |||||
* | handle the good status of bad sector attributes especially | Lennart Poettering | 2009-03-19 | 1 | -0/+10 |
| | |||||
* | drop -1 suffix from attribute names to make things more future-proof | Lennart Poettering | 2009-03-19 | 1 | -5/+5 |
| | |||||
* | add new API sk_disk_smart_get_overall() | Lennart Poettering | 2009-03-19 | 1 | -14/+80 |
| | |||||
* | add high-level sk_disk_smart_get_{power_on, temperature, bad}() calls | Lennart Poettering | 2009-03-19 | 1 | -19/+182 |
| | |||||
* | fix a few typos | Lennart Poettering | 2009-03-19 | 1 | -7/+7 |
| | |||||
* | dump access mode | Lennart Poettering | 2009-03-18 | 1 | -2/+20 |
| | |||||
* | 12-byte SAT support for libatasmart | Matthew Garrett | 2009-03-18 | 1 | -7/+79 |
| | | | | | | | | | | | | | | Hi Lennart, My USB enclosure (a Maxtor basics of some description) supports SAT, but only the 12-byte version. I've included a patch that implements it. RIght now it tries the 16 byte one and then falls back, which is possibly not ideal - there's a significant pause before the 16 byte one finishes and the 12 byte one is tried. I'd reverse the order, but I've no idea if that would confuse other devices. Are we able to check for which commands the firmware claims to support? Signed-off-by: Lennart Poettering <lennart@poettering.net> | ||||
* | fix space dropping algorithm | Lennart Poettering | 2008-07-25 | 1 | -0/+1 |
| | |||||
* | add missing strpool lookup | Lennart Poettering | 2008-07-25 | 1 | -1/+1 |
| | |||||
* | add more complete quirk framework | Lennart Poettering | 2008-07-25 | 1 | -57/+326 |
| | |||||
* | strinpoolize even more tables | Lennart Poettering | 2008-07-19 | 1 | -1/+2 |
| | |||||
* | initialize sense data to make valgrind shut up | Lennart Poettering | 2008-07-19 | 1 | -0/+2 |
| | |||||
* | actually use strpool for the atasmart sources | Lennart Poettering | 2008-07-19 | 1 | -10/+15 |
| | |||||
* | add a simple string pool generator | Lennart Poettering | 2008-07-03 | 1 | -0/+8 |
| | |||||
* | make a few attribute names actually unique | Lennart Poettering | 2008-07-03 | 1 | -4/+4 |
| | |||||
* | include raw attribute data | Lennart Poettering | 2008-07-02 | 1 | -2/+4 |
| | |||||
* | highlight lines only when good_valid is set | Lennart Poettering | 2008-07-02 | 1 | -2/+5 |
| | |||||
* | check for threshold/value validity | Lennart Poettering | 2008-07-02 | 1 | -12/+33 |
| | |||||
* | autoconfization | Lennart Poettering | 2008-07-01 | 1 | -3/+1 |
| | |||||
* | fix copyright blurb | Lennart Poettering | 2008-07-01 | 1 | -4/+4 |
| | |||||
* | fixup #includes | Lennart Poettering | 2008-07-01 | 1 | -1/+1 |
| | |||||
* | rename smart.[ch] to atasmart.[ch] | Lennart Poettering | 2008-07-01 | 1 | -0/+1258 |