whdd:master

Last commit made on 2024-04-04
Get this branch:
git clone -b master https://git.launchpad.net/whdd

Branch merges

Branch information

Name:
master
Repository:
lp:whdd

Recent commits

de86149... by Andriy Utkin <email address hidden>

Add Stand With Ukraine banner to README.md

b91a3db... by Andriy Utkin <email address hidden>

Update website link

1dc44e2... by Andriy Utkin <email address hidden>

Fix scanf overflow warnings from Clang

libdevcheck/libdevcheck.c:138:23: warning: 'sscanf' may overflow; destination buffer in argument 6 has size 128, but the corresponding specifier may require size 129 [-Wfortify-source]
  138 | &ma, &mi, &sz, ptname) != 4)
      | ^
libdevcheck/libdevcheck.c:194:41: warning: 'fscanf' may overflow; destination buffer in argument 3 has size 256, but the corresponding specifier may require size 257 [-Wfortify-source]
  194 | r = fscanf(model_file, "%256[^\n]", model);
      | ^

8db8256... by Andriy Utkin <email address hidden>

Fix formatting warnings from Clang

cui/sliding_window_renderer.c:134:50: warning: format specifies type 'int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
  134 | wprintw(priv->access_time_stats, "%d\n", priv->access_time_stats_accum[i]);
      | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | %lu
cui/sliding_window_renderer.c:136:50: warning: format specifies type 'int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
  136 | wprintw(priv->access_time_stats, "%d\n", priv->error_stats_accum[i]);
      | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
      | %lu
cui/sliding_window_renderer.c:252:69: warning: format specifies type 'int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
  250 | "Block = %d bytes\n"
      | ~~
      | %lu
  251 | "Ctrl+C to abort\n",
  252 | actctx->procedure->display_name, actctx->dev->dev_path, actctx->blk_size);
      | ^~~~~~~~~~~~~~~~

c964001... by Andriy Utkin <email address hidden>

Tweak vis blocks palette

cb2cd19... by Andriy Utkin <email address hidden>

Update deps in static build

fbf930e... by Andriy Utkin <email address hidden>

Add _GNU_SOURCE in CMakeLists.txt used for static build

Addresses https://github.com/whdd/whdd/pull/12

516cde2... by Andriy Utkin <email address hidden>

Enable smartctl output for all devices, not just ATA

As mentioned in https://github.com/whdd/whdd/pull/21
NVME support SMART. But old code assumes it "requires ATA". I don't see
how to correctly and conveniently categorize when to show or not this
option, so let's show it for all. Worst case, smartctl will say the
device doesn't support SMART.

787363c... by Mantas Kriaučiūnas

Add NVMe SSD support ("nvme0nN")

Signed-off-by: Andriy Utkin <email address hidden>

5a8a547... by Andriy Utkin <email address hidden>

Drop pkg-config call for dialog

Dialog package doesn't seem to install dialog.pc file nowadays.
So pkg-config calls result in warnings - not fatal but distracting.
Was reported as https://github.com/whdd/whdd/issues/32 .