Commit graph

137 commits

Author SHA1 Message Date
Andrea Mazzoleni
189029749e Configuration is now required also for smart and probe commands
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-03-12 16:19:40 +01:00
Andrea Mazzoleni
c8f219e6e8 Comment why read doesn't refersh the disks info 2026-03-11 16:05:39 +01:00
Andrea Mazzoleni
e48cdacce5 New option --gui-touch-before 2026-03-10 23:43:21 +01:00
Andrea Mazzoleni
27c44ce56e Quote tags in the logs
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-03-02 17:57:29 +01:00
Andrea Mazzoleni
21561e6cf9 More coverage test
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-28 18:13:11 +01:00
Andrea Mazzoleni
8639c8b479 Use PACKAGE_NAME where proper 2026-02-24 09:09:10 +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
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
627b7cff50 New gui options to have a better integration 2026-02-10 12:16:50 +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
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
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
d3f7bf64c1 Differentiate messages in the log files if they are caused by an hardware issue 2026-02-01 20:44:36 +01:00
Andrea Mazzoleni
f134201438 Log more information about the filesystems 2026-01-31 16:30:15 +01:00
Andrea Mazzoleni
692856b4f9 Fix help of -d option 2026-01-26 22:49:42 +01:00
Andrea Mazzoleni
1166d9dcea Bump to 14.0 2026-01-26 09:39:50 +01:00
Andrea Mazzoleni
b29500c25f Update beautification with uncrustify 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
6b79b3157d Splitted the --gui option in --gui and --gui-verbose to avoid extremely big logs 2026-01-14 10:49:23 +01:00
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
00dc3e6a48 New speed test options 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
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
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
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
e00342557e Exit with an error code if Ctrl+C is pressed 2025-10-17 10:07:51 +02:00
Andrea Mazzoleni
52ef48655f Improve and change the order of the user messages
The "Everything is OK" is now printed as latest one.
2025-10-13 13:51:18 +02:00
Andrea Mazzoleni
93804c20c3 Add a new -A, --stats option 2025-09-29 15:53:43 +02:00
Andrea Mazzoleni
bb2b84d21a Add a new -s, --spin-down-on-error option
Also handle correctly chars outside the Windows codepage as arguments.
2025-09-26 09:50:10 +02:00
Andrea Mazzoleni
fedeb99bdc Add a new probe command
Probe the power state of the disks in the system
2025-09-24 11:26:30 +02:00
Andrea Mazzoleni
e57f07cc24 Use direct read access to spinup disks
This is more reliable in case of multiple physical devices mapped to the same
logical disk.
2025-09-24 11:15:26 +02:00
Allan Clark
5886923bb1 Add bandwidth limit feature --bw-limit 2025-03-29 19:29:55 +01:00
Tomas Uribe
79e8794ff5 Small doc updates, clarify references to "snapraid touch". (#19)
Co-authored-by: Andrea Mazzoleni <amadvance@gmail.com>
2024-01-10 14:17:00 +01:00
Andrea Mazzoleni
a605442c8c Fix typos in messages 2023-12-09 15:35:45 +01:00
Andrea Mazzoleni
1d4fbd3f9a Add the option --test-skip-multi-scan to skip multithreads scan 2022-01-07 21:03:51 +01:00
Andrea Mazzoleni
836fd6b1e0 Add a new undocumented --filter-block-error option 2021-07-08 08:07:03 +02:00
Andrea Mazzoleni
24f746bf82 Use localtime_r() when available
No effect on the monothread context, but avoid warnings from static analysis.
2021-05-30 15:52:55 +02:00
Andrea Mazzoleni
53801b407a Remove the need of the MingW pthread layer on the Windows port
Now everything is implemented usign Windows native calls.
2021-05-26 00:21:52 +02:00
Andrea Mazzoleni
19c75877f1 Allow the --force-device option to work with smart/up/down/devices 2019-05-05 09:17:05 +02:00
Andrea Mazzoleni
f68694904d Cleanup the memory messages 2018-01-14 15:20:57 +01:00
Andrea Mazzoleni
c4e08ae69d Add fallthrough comments to avoid gcc 7 warnings 2018-01-03 12:08:29 +01:00
Andrea Mazzoleni
ebd2ef6220 Fix a typo in comment 2017-02-05 11:43:21 +01:00
James Sanderson
ee1aa840f1 Respect sysconfdir for configuration file location
The sysconfdir is used if it exists, otherwise it fallbacks
to the previous default /etc.
2016-11-06 22:12:49 +01:00
Andrea Mazzoleni
faa530e83e Allow to change the output format
The new test option allows to restore the past
behaviour, just in case...
2016-10-11 20:30:12 +02:00
Andrea Mazzoleni
ba0184c37c Add a test option to skip the space holder 2016-10-05 00:12:29 +02:00