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
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
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 )
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
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
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
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.
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
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
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
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
Andrea Mazzoleni
b4c96e5afa
Handle signals in fork
2025-10-17 08:49:05 +02:00
Andrea Mazzoleni
adc968e5c9
Keep estimating using the latest know temperature even if equal
2025-10-16 17:55:22 +02:00
Andrea Mazzoleni
adce4ce5f7
Use /proc/self/exe to restart itself
2025-10-16 16:13:13 +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
467fb8c1ac
Don't print the "Nothing to do" if the state was updated
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-13 00:26:31 +02:00
Andrea Mazzoleni
c1e101699a
Avoid stale messages on terminal to appear in new lines
2025-10-12 23:55:32 +02:00
Andrea Mazzoleni
adde997a38
Extend block time information to 64 bits
...
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
Prevent potential timestamp overflow for the last write operation, which
could occur around 2106. The content format remains unchanged, as values are
expected to stay within the 32-bit range until then.
2025-10-08 13:02:24 +02:00
Andrea Mazzoleni
a2dd9a5f1c
Fix leak on error in the new devup
2025-10-08 00:17:01 +02:00