Commit graph

14 commits

Author SHA1 Message Date
Andrea Mazzoleni
1c1bfd0dfa Return error in devdereference_bcachefs if no devices are found 2026-08-06 23:09:28 +02:00
Andrea Mazzoleni
81cdcf9b22 Free devlist allocations on error in devdereference_btrfs 2026-08-06 23:02:38 +02:00
Andrea Mazzoleni
ca4bcaa50a Fallback to rotational in devpower if sysfs attribute is unknown 2026-08-06 22:57:40 +02:00
Andrea Mazzoleni
1f496e61c6 Silence clang static analyzer warnings 2026-08-05 21:05:34 +02:00
Andrea Mazzoleni
d90f1bc73c Use eaccess instead of access in unixapp.c for consistent effective privilege checking 2026-08-05 21:05:34 +02:00
Andrea Mazzoleni
f9e797c0ea Abort execution with a fatal error if smartctl options exceed maximum argument limit 2026-08-05 21:05:34 +02:00
Andrea Mazzoleni
b16a1aea3e Use sig_atomic_t 2026-08-04 09:48:01 +02:00
Andrea Mazzoleni
1de9e4bbc9 Clarify comment about reading uuids 2026-08-04 09:48:01 +02:00
Andrea Mazzoleni
67d8b5c4cb Avoid some hardcoded string sizes 2026-08-04 09:48:01 +02:00
Andrea Mazzoleni
ef8085646d Merge the CLI and Daemon portable interface 2026-08-04 09:48:01 +02:00
Andrea Mazzoleni
78c63df3a3 Fail Btrfs device listing if an unexpeced error happens 2026-08-04 09:48:01 +02:00
Andrea Mazzoleni
a4ed90bb94 Add support for custom smartctl info options using a [info: ...] tag 2026-08-04 09:48:00 +02:00
Andrea Mazzoleni
b1a9cd4394 Skip spinup and spindown for non-rotational devices 2026-08-04 09:48:00 +02:00
Andrea Mazzoleni
51eed57482 Refactor portable support 2026-08-04 09:48:00 +02:00