summaryrefslogtreecommitdiffstats
path: root/atasmart.c
Commit message (Collapse)AuthorAgeFilesLines
* blacklist 152d:2329 jmicron usb bridgesLennart Poettering2009-09-171-3/+9
|
* support some ssd smart attrsLennart Poettering2009-08-201-1/+10
|
* highlight if smart status is badLennart Poettering2009-08-061-3/+4
|
* fix parsing of power-on-minutesLennart Poettering2009-08-061-2/+2
|
* rework lgoic that determines verdict of driveLennart Poettering2009-08-061-32/+92
| | | | | | | | | | | Distuingish attributes that are failing now vs. failed in the past. Add 'warn' field that is used to signal UIs to highlight certain attributes. Beef up the "overall status" logic a bit. This breaks ABI. Depending on your client this might break API too.
* rename failed to badLennart Poettering2009-08-061-6/+6
|
* add MHY2250B/0085000B to quirk dbLennart Poettering2009-08-061-1/+4
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=499265
* verify parsing of all attributesLennart Poettering2009-08-061-64/+128
|
* blacklist attribute 5 of an hitachi driveLennart Poettering2009-08-051-13/+24
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=506254
* if the ID_ATA_SMART_ACCESS udev env var is set for a device read the access ↵Lennart Poettering2009-05-071-0/+22
| | | | method from it
* show full device string when dumping statusLennart Poettering2009-05-071-1/+3
|
* allow prefixing device strings with access methodsLennart Poettering2009-05-071-17/+77
|
* rename SK_DISK_TYPE_ATA to SK_DISK_TYPE_LINUX_IDELennart Poettering2009-05-071-6/+6
|
* black list a few attributes on FUJITSU MHY2120BH/0085000BLennart Poettering2009-05-061-2/+27
|
* look at lower 32 bit of current-pending-sector raw data only, similar to ↵Lennart Poettering2009-05-061-1/+2
| | | | reallocated-sector-count
* add another sunplus bridge to the list of supported sunplus bridgesLennart Poettering2009-04-241-1/+2
|
* add missing 'else'Lennart Poettering2009-04-241-1/+1
|
* Get rid of qurik 9_UNKNOWN againLennart Poettering2009-04-241-12/+3
| | | | | | | | | Apparently Seagate seems to use the MSB's of the raw data of the power-on-time field for something else on some disks, so let's just look at the lower 32bits of that field and we get a value that works on all disks including those from Seagate. 32bit should be more than enough to encode the power-on-time for almost all disks so this should not be much of a limitation.
* Seagate's ST9160821AS drive encodes something strange in attribute 9Lennart Poettering2009-04-231-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 isLennart Poettering2009-04-231-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 valueLennart Poettering2009-04-231-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 bridgesLennart Poettering2009-04-221-13/+144
|
* don't look for reallocated-sector-count since some vendors seem to encode ↵Lennart Poettering2009-04-151-2/+1
| | | | this differently than others
* only use 'prefail' attributes for overall statusLennart Poettering2009-04-151-1/+1
|
* when dumping status print message when SMART is not supportedLennart Poettering2009-04-141-1/+2
|
* when dealing with unknown block device type don't confuse with sunplus deviceLennart Poettering2009-04-141-1/+10
|
* don't depend on udev's ID_BUS variable when figuring out device typeLennart Poettering2009-04-141-37/+25
|
* initialize cmd data before passing it to the scsi ioctlsLennart Poettering2009-04-141-0/+2
|
* add new API sk_disk_smart_get_power_cycle()Lennart Poettering2009-04-141-4/+48
|
* do a basic all-NUL check for the identify data before accepting it is validLennart Poettering2009-04-121-0/+14
|
* revamp blob serialization and include smart status fieldLennart Poettering2009-04-101-65/+249
|
* minor cleanupLennart Poettering2009-04-091-3/+2
|
* deal with ATA/USB truncationLennart Poettering2009-04-091-2/+4
|
* add support for sunplus usb/ata bridgesLennart Poettering2009-04-091-20/+170
|
* use O_NONBLOCK mode when opening deviceLennart Poettering2009-04-071-1/+7
|
* fix parsing of awake statusLennart Poettering2009-04-071-1/+3
|
* make sure we don't choke on attribute id 255Lennart Poettering2009-04-051-1/+1
|
* define type string for 'unknown'Lennart Poettering2009-04-051-2/+2
|
* remove | chars that are too much from regexpLennart Poettering2009-04-031-2/+2
|
* fix parsing of power-on-minutesLennart Poettering2009-04-031-1/+1
|
* open the disk device in O_RDONLY, let's see how compatible that isLennart Poettering2009-04-031-1/+1
|
* make sure the blob data is packed. it's certainly packed anyway, but let's ↵Lennart Poettering2009-04-031-1/+1
| | | | better be safe than sorry
* add functions to save/load smart data blobs directlyLennart Poettering2009-04-021-81/+200
|
* copy in new quirk table from smartmontoolsLennart Poettering2009-03-241-52/+82
|
* handle the good status of bad sector attributes especiallyLennart Poettering2009-03-191-0/+10
|
* drop -1 suffix from attribute names to make things more future-proofLennart Poettering2009-03-191-5/+5
|
* add new API sk_disk_smart_get_overall()Lennart Poettering2009-03-191-14/+80
|
* add high-level sk_disk_smart_get_{power_on, temperature, bad}() callsLennart Poettering2009-03-191-19/+182
|
* fix a few typosLennart Poettering2009-03-191-7/+7
|
* dump access modeLennart Poettering2009-03-181-2/+20
|