Extend the "smart" and "down" command to Windows

Now we are able to detect what low level device is associated
to the high level volume.
This commit is contained in:
Andrea Mazzoleni 2015-02-15 18:34:27 +01:00
parent 162d049bb9
commit 14c8307ed4
8 changed files with 357 additions and 97 deletions

View file

@ -189,11 +189,5 @@ void malloc_fail(size_t size);
*/
int smartctl_attribute(FILE* f, uint64_t* smart, char* serial);
/**
* Reads smartctl --scan from a stream.
* Returns 0 on success.
*/
int smartctl_scan(FILE* f, tommy_list* list);
#endif