Commit graph

704 commits

Author SHA1 Message Date
Andrea Mazzoleni
9f14dd94e5 Add support for ** in the patterns
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 / Analyze (push) Has been cancelled
2026-01-11 15:48:36 +01:00
Andrea Mazzoleni
36cef9ee89 New .snapraidignore feature 2026-01-11 12:07:01 +01:00
Andrea Mazzoleni
6a912b4726 Optimize the stream support for small text files 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
f6cf240b97 New experimental MuseAir hash 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
cc2bdad335 Some hash support improvments 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
00dc3e6a48 New speed test options 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
928469bc3d Avoid some warnings reported with higher optimization 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
ba781f903d New test vectors for metro hash 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
be3e3673fd Use proper family variable name instead of vendor 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
c4f01e9503 Retrieve disk attributes from the system also in Windows 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
13fae39eb3 New pseudo random number generator
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 / Analyze (push) Waiting to run
2026-01-06 09:34:29 +01:00
Andrea Mazzoleni
0aafcd1819 Read random sector to avoid cache when spinning up disk 2026-01-05 17:09:16 +01:00
Andrea Mazzoleni
d46a2402b6 Beautify code with uncrustify 2026-01-05 15:59:03 +01:00
Andrea Mazzoleni
6af8894120 In the help text print which configuration file is used 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
005ee9d416 Don't flush also when restarting 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
3678474074 When spinning down sync only the related disks 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
524733a6db Make the stat tag a disk level 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
fca525e5c6 Get SMART attributes also in probe, but only if the disk is already spinning 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
986d7464b4 Add disk usage detection based on access counters 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
75b6170b79 Rework size and uuid tags 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
ea53954b41 Rework attributes 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
0367b2810a Retrieve some attributes directly from the system 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
67e4896671 Output the power mode with the attr: tag like other attributes 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
efcdfb9118 When logging device attributes, also provide the split information 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
bb3aae2f40 Run smartctl only from selected paths 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
1f17ceca84 Log disk information info also in probe
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 / Analyze (push) Has been cancelled
2025-12-18 18:49:52 +01:00
Andrea Mazzoleni
1759716734 Fix importing of vendor/model from smartctl 2025-12-18 15:40:04 +01:00
Andrea Mazzoleni
30e329d4f3 More log_tags to make explicit the devices state 2025-12-18 14:48:43 +01:00
Andrea Mazzoleni
352e641e84 Add a new motherboard keyword for temperature monitoring 2025-12-16 23:03:12 +01:00
Andrea Mazzoleni
2555e503aa Force version 3 when saving content
This avoid saving the content file when it was not strictly necessary
because we keep the partity size.
2025-12-15 11:01:02 +01:00
Andrea Mazzoleni
a662387d2a More documentation for the log file 2025-12-12 11:02:03 +01:00
Andrea Mazzoleni
6729e2d0eb Some minimal tags changes 2025-12-11 12:54:18 +01:00
Andrea Mazzoleni
04732d8f49 Rework the latest log_tag additions 2025-12-10 13:59:14 +01:00
Tristan Teufel
43119c9caf
Add structured log output for status command to enable ASCII-free parsing (#29)
Add structured log output for status command to enable ASCII-free parsing
2025-12-10 13:50:43 +01:00
BlueMöhre
47a2f640e7
add probe command to the usage output (#27)
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 / Analyze (push) Waiting to run
2025-12-10 01:16:02 +01:00
Andrea Mazzoleni
d452b109bc More regression tests
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 / Analyze (push) Waiting to run
2025-10-28 12:15:50 +01:00
Andrea Mazzoleni
881add341f Some more assertions 2025-10-27 16:22:52 +01:00
Andrea Mazzoleni
36b20e5d0e Explain the internal functionality of the IO system 2025-10-27 15:55:13 +01:00
Andrea Mazzoleni
8ae0599c64 Fix quoting for printed file paths
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 / Analyze (push) Waiting to run
2025-10-27 01:07:38 +01:00
Andrea Mazzoleni
21acc31bf1 Beautify code with uncrustify 2025-10-26 18:11:45 +01:00
Andrea Mazzoleni
9bc50f4e34 Avoid empty line in the cooldown output 2025-10-26 14:46:45 +01:00
Andrea Mazzoleni
a145ab5674 Improve temperature messages 2025-10-26 14:46:45 +01:00
Andrea Mazzoleni
ac986579d7 During cooldown keep spinning down any disk that is spun up 2025-10-26 12:03:31 +01:00
Andrea Mazzoleni
b549bffd4c Flush disks before the emergency spindown 2025-10-26 10:38:43 +01:00
Andrea Mazzoleni
d2671e7627 Ensure that in Windows the content rename operation is flushed to disk
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 / Analyze (push) Has been cancelled
2025-10-23 18:22:03 +02:00
Andrea Mazzoleni
1552f892d3 Don't forward Windows events to the child. It already receives them.
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 / Analyze (push) Waiting to run
2025-10-21 00:35:28 +02:00
Andrea Mazzoleni
1aba628477 Fix command line handling in Windows
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 / Analyze (push) Has been cancelled
2025-10-18 16:22:10 +02:00
Andrea Mazzoleni
ce2ad1e9c1 Handle SIGPIPE when spinning down
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 / Analyze (push) Waiting to run
2025-10-18 11:45:31 +02:00
Andrea Mazzoleni
6c1421f5a0 Change thermal defaults
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 / Analyze (push) Waiting to run
2025-10-17 10:07:51 +02:00
Andrea Mazzoleni
e00342557e Exit with an error code if Ctrl+C is pressed 2025-10-17 10:07:51 +02:00