Commit graph

2045 commits

Author SHA1 Message Date
Andrea Mazzoleni
d451f911c7 Reformat the code with new uncrustify.cfg 2026-02-27 00:39:22 +01:00
Andrea Mazzoleni
ed15ad23a4 Report more NVME SMART attributes 2026-02-26 12:53:55 +01:00
Andrea Mazzoleni
18279f7346 Stop parsing numbers from smartctl after two consecutive commas
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-02-25 19:12:34 +01:00
Andrea Mazzoleni
1e79a19409 Fix potential crash during thermal spingdown 2026-02-25 19:04:45 +01:00
Andrea Mazzoleni
2f7ac6996c Update manpages 2026-02-25 14:48:54 +01:00
Andrea Mazzoleni
c3531616ee Make slackware dist package
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-02-25 13:47:52 +01:00
Andrea Mazzoleni
41e67f8beb Use dots in version
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-02-24 18:28:34 +01:00
Andrea Mazzoleni
8639c8b479 Use PACKAGE_NAME where proper 2026-02-24 09:09:10 +01:00
Andrea Mazzoleni
cc179f52ef Configuration message post install 2026-02-24 08:54:02 +01:00
Andrea Mazzoleni
077cf5de01 Detect more hardware errors 2026-02-24 08:39:50 +01:00
Andrea Mazzoleni
f5c07e07f5 Detect more SMART attributes for SCSI/NVME
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-02-21 18:46:21 +01:00
Andrea Mazzoleni
a63a985bf7 Promote "test-read" to an official command as "read"
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-02-20 00:03:07 +01:00
Andrea Mazzoleni
33f8ddc789 Fix typo in the manpage. It's mergerfs, not mergefs
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-02-19 18:35:36 +01:00
Andrea Mazzoleni
f86819cadc Do not log the attributes ignore with smartignore 2026-02-19 16:16:30 +01:00
Andrea Mazzoleni
575ce99b5f Use a 64 bit hash for the buckets, just to avoid conversion warnings
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-02-18 19:53:17 +01:00
Andrea Mazzoleni
7af0111c4a Fix leak on error when writing content file 2026-02-18 19:48:30 +01:00
Andrea Mazzoleni
11fd4ada69 Support decimal point for -p, --plan
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-02-17 02:02:48 +01:00
Andrea Mazzoleni
696ee97754 Log full SMART attributes 2026-02-17 02:02:48 +01:00
Andrea Mazzoleni
5e98164b64 Log the real raw value of SMART temperature 2026-02-17 02:02:48 +01:00
Andrea Mazzoleni
a31bba2e45 Fix temperature gathering 2026-02-17 02:02:48 +01:00
Andrea Mazzoleni
2019aa4bb6 Log the normalized, worst and threshold value of SMART attributes 2026-02-17 02:02:48 +01:00
Andrea Mazzoleni
ae453435f0 Minor doc change 2026-02-17 02:02:48 +01:00
Andrea Mazzoleni
01347e48b6 Remove backup files created by autoreconf 2026-02-17 02:02:48 +01:00
Andrea Mazzoleni
ecb32f8c03 Update build scripts 2026-02-17 02:02:48 +01:00
Andrea Mazzoleni
195f493558 New XML format for manpages 2026-02-14 11:16:43 +01:00
Andrea Mazzoleni
4c7fd01b7b Do not log the exit tag in scan, only in diff
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-02-10 23:15:49 +01:00
Andrea Mazzoleni
627b7cff50 New gui options to have a better integration 2026-02-10 12:16:50 +01:00
Andrea Mazzoleni
5dfeaf0ef6 Return with an error code if the there is a thermal alert that prevent starting
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-02-09 23:52:10 +01:00
Andrea Mazzoleni
03fb7d3cff Log begin and end markers for scan and bucket listing 2026-02-09 23:52:10 +01:00
Andrea Mazzoleni
60010a4b32 Documentation of the new commands
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-02-09 14:39:19 +01:00
Andrea Mazzoleni
1e88834465 Add --force-realloc tests 2026-02-09 14:39:19 +01:00
Andrea Mazzoleni
f89d5fa4f3 Unified the two --force-realloc logics 2026-02-09 14:39:19 +01:00
Ralf
966583e6f0 Add a new -W, --force-realloc-tail that operates only on the specified tail
Co-authored-by: Andrea Mazzoleni <amadvance@gmail.com>
2026-02-09 14:39:19 +01:00
Andrea Mazzoleni
d5b5a9bcbf More efficient info bucket management
Logged at every state_read() and state_write()
2026-02-09 14:39:19 +01:00
Andrea Mazzoleni
83b1c9bf3b Print Everything OK also if nothing was processed 2026-02-09 14:39:19 +01:00
Andrea Mazzoleni
d3c5521d21 Log the new temperature attribute for all devices 2026-02-09 14:39:19 +01:00
Andrea Mazzoleni
e04c7cc1f8 Use the AirFlow temperature if the disk temperatur is not available 2026-02-09 14:39:19 +01:00
Andrea Mazzoleni
4a25cdc952 Give time reference for attributes read from disk 2026-02-09 14:39:19 +01:00
Andrea Mazzoleni
345f9bf019 Treat SIGQUIT as immediate exit, remove from graceful shutdown
This aligns with common behavior in vim, nano, helix, weechat, etc.
2026-02-09 14:39:16 +01:00
Andrea Mazzoleni
43e46cf013 When received a signal, terminate with the same signal 2026-02-08 15:44:20 +01:00
Andrea Mazzoleni
fb2a9cbf00 Small cleanup in configure.ac 2026-02-08 15:26:30 +01:00
Andrea Mazzoleni
4d39bd5adf Log ETA in seconds. Also use empty fields if the value is not available. 2026-02-08 14:41:12 +01:00
Andrea Mazzoleni
025816d151 Speed up the status command
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-02-02 18:00:14 +01:00
Andrea Mazzoleni
4da11411f1 Always get the SMART info after a spinup 2026-02-02 18:00:14 +01:00
Andrea Mazzoleni
60bd71d184 Log new block_unsynced and block_unscrubbed counter 2026-02-02 18:00:14 +01:00
Ralf
c09bdc572e Add new locate command with --tail option.
Co-authored-by: Andrea Mazzoleni <amadvance@gmail.com>
2026-02-02 14:02:16 +01:00
Andrea Mazzoleni
1c4f9870fb Minimal cool down time accepted by conf is 3 minutes 2026-02-02 09:21:28 +01:00
Andrea Mazzoleni
e2d2ddbf67 Fix typo in the interface code 2026-02-02 09:17:04 +01:00
Andrea Mazzoleni
3732800a0b In sync message if the parity is invalid 2026-02-01 23:21:38 +01:00
Andrea Mazzoleni
d3f7bf64c1 Differentiate messages in the log files if they are caused by an hardware issue 2026-02-01 20:44:36 +01:00