terrible smart driver
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user