Commit graph

29 commits

Author SHA1 Message Date
Andrea Mazzoleni
fed3e8be1f Use shorter fake device names in Windows 2015-02-17 22:27:11 +01:00
Andrea Mazzoleni
cbf4d32d13 Change the MinGW target for x86.
This one support better the printf attribute format.
2015-02-16 19:22:59 +01:00
Andrea Mazzoleni
fba7cdcbe2 Fix the printf attribute for MingW 2015-02-16 18:42:52 +01:00
Andrea Mazzoleni
60f0c2494f Add most of the stdout output also to stdlog 2015-02-07 16:57:36 +01:00
Andrea Mazzoleni
cd1186e434 Support the case of device not in smartctl database 2015-01-29 22:52:17 +01:00
Andrea Mazzoleni
be6640b65f Add rotation rate in smart attribute 2015-01-24 22:37:37 +01:00
Andrea Mazzoleni
356c36cda0 Report the smartctl fail/prefail conditions 2015-01-24 17:55:59 +01:00
Andrea Mazzoleni
3df837b224 Clean the configure script 2015-01-24 14:34:53 +01:00
Andrea Mazzoleni
0e4b5053b9 Add basic stat analysis of the failure rate 2015-01-17 23:36:44 +01:00
Andrea Mazzoleni
80982a8455 Scan for all devices in the SMART report 2015-01-16 18:52:31 +01:00
Andrea Mazzoleni
951e4e5c98 Add the ATA error count in the SMART report.
And other minor changes.
2015-01-15 22:47:21 +01:00
Andrea Mazzoleni
4a41adc807 Add preliminary SMART support with a new "smart" command. 2015-01-14 22:29:20 +01:00
Andrea Mazzoleni
16b872e30c Refactors the new spin support with some rename and function splitting. 2015-01-11 17:43:31 +01:00
Andrea Mazzoleni
9517e0c622 Prints also the disk name when listing devices. 2015-01-10 10:21:26 +01:00
Andrea Mazzoleni
d06a586e84 Adds sys/wait.h in the list of include used. 2015-01-02 23:00:19 +01:00
Andrea Mazzoleni
04965646d3 Disables special device support if not in Linux.
This fixes build issues in other OS.
2015-01-02 22:51:10 +01:00
Andrea Mazzoleni
08c7a23774 Enables GNU printf functions in MINGW. 2015-01-02 21:38:16 +01:00
Andrea Mazzoleni
297d648675 Removes the unnecessary windows_randomize declaration. 2015-01-02 18:07:59 +01:00
Andrea Mazzoleni
b24807704e Adds preliminary support for spinning up and down commands. 2015-01-02 15:53:15 +01:00
Andrea Mazzoleni
7e9a5e6a6d Stores the free space in the content file.
This avoids the need to access data and parity disks in
the status command.
Also removed some data disk access, in list, dup and similar
commands that don't need to scan the disks.
2014-11-09 19:14:29 +01:00
Andrea Mazzoleni
98deb4ba91 Fixes a recurring typo in comments. 2014-10-19 21:09:22 +02:00
Andrea Mazzoleni
3e2d805d08 Extends the status command to show free space. 2014-10-13 23:47:25 +02:00
Andrea Mazzoleni
a0c6965959 Reads the physical offset only for new files. 2014-10-03 21:28:56 +02:00
Andrea Mazzoleni
876bddcf4c Beautifies the code. 2014-09-27 00:32:39 +02:00
Andrea Mazzoleni
12f77ed778 Fixes build in OS X. 2014-07-11 18:39:45 +02:00
Andrea Mazzoleni
5dfc67ec18 Keeps stats about usage time of disk and cpu. 2014-06-25 22:32:36 +02:00
Andrea Mazzoleni
8c8b370d4c Revert "Removes some warnings with old gcc compiler."
Not needed as _GNU_SOURCE should be already defined in config.h.
This reverts commit 65cfe677cc.
2014-04-10 20:45:57 +02:00
Andrea Mazzoleni
65cfe677cc Removes some warnings with old gcc compiler. 2014-04-09 23:08:38 +02:00
Andrea Mazzoleni
44ef039a13 Different source organization. 2014-03-23 17:50:27 +01:00
Renamed from src/portable.h (Browse further)