Ingnore the SMART Command Timeout for Seagate SMR disks

This commit is contained in:
Andrea Mazzoleni 2016-10-13 18:57:14 +02:00
parent faa530e83e
commit a90f8db3c0
7 changed files with 36 additions and 12 deletions

View file

@ -389,7 +389,7 @@ void malloc_fail(size_t size);
* Read smartctl attributes from a stream.
* Return 0 on success.
*/
int smartctl_attribute(FILE* f, const char* file, const char* name, uint64_t* smart, char* serial);
int smartctl_attribute(FILE* f, const char* file, const char* name, uint64_t* smart, char* serial, char* vendor, char* model);
/**
* Flush smartctl output from a stream.