Propagate smartctl info options in Windows devtree and thermal monitoring

This commit is contained in:
Andrea Mazzoleni 2026-08-17 10:49:47 +02:00
parent 175649e236
commit b8ffdbd1f7
2 changed files with 3 additions and 0 deletions

View file

@ -857,6 +857,7 @@ static int devtree(devinfo_t* parent, tommy_list* list)
pathcpy(devinfo->name, sizeof(devinfo->name), parent->name);
pathcpy(devinfo->smartctl, sizeof(devinfo->smartctl), parent->smartctl);
pathcpy(devinfo->smartctl_info, sizeof(devinfo->smartctl_info), parent->smartctl_info);
memcpy(devinfo->smartignore, parent->smartignore, sizeof(devinfo->smartignore));
devinfo->device = vde->Extents[i].DiskNumber;
pathprint(devinfo->file, sizeof(devinfo->file), "/dev/pd%" PRIu64, devinfo->device);