mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Propagate smartctl info options in Windows devtree and thermal monitoring
This commit is contained in:
parent
175649e236
commit
b8ffdbd1f7
2 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue