terrible smart driver

This commit is contained in:
alu
2026-08-07 17:02:27 -07:00
parent 5c4d16857b
commit 683091902f
6 changed files with 410 additions and 22 deletions
+27
View File
@@ -0,0 +1,27 @@
package drivers
type DiskInfo struct {
DevicePath string
Model string
Serial string
Protocol string
MountPoint string
IsMounted bool
}
type DiskUsage struct {
TotalBytes uint64
FreeBytes uint64
UsedBytes uint64
UsagePercent float64
}
type DiskSMART struct {
Passed bool
TemperatureC int
PowerOnHours int
PowerCycleCount int
WearoutPercent int
HealthRemaining int
HasWearData bool
}