@@ -146,7 +146,7 @@ type SmartInfo struct {
|
|||||||
Error int `json:"error"`
|
Error int `json:"error"`
|
||||||
Status int `json:"status"`
|
Status int `json:"status"`
|
||||||
Count int `json:"count"`
|
Count int `json:"count"`
|
||||||
Lba int `json:"lba"`
|
Lba uint64 `json:"lba"`
|
||||||
Device int `json:"device"`
|
Device int `json:"device"`
|
||||||
} `json:"completion_registers"`
|
} `json:"completion_registers"`
|
||||||
ErrorDescription string `json:"error_description"`
|
ErrorDescription string `json:"error_description"`
|
||||||
@@ -155,7 +155,7 @@ type SmartInfo struct {
|
|||||||
Command int `json:"command"`
|
Command int `json:"command"`
|
||||||
Features int `json:"features"`
|
Features int `json:"features"`
|
||||||
Count int `json:"count"`
|
Count int `json:"count"`
|
||||||
Lba int `json:"lba"`
|
Lba uint64 `json:"lba"`
|
||||||
Device int `json:"device"`
|
Device int `json:"device"`
|
||||||
DeviceControl int `json:"device_control"`
|
DeviceControl int `json:"device_control"`
|
||||||
} `json:"registers"`
|
} `json:"registers"`
|
||||||
@@ -188,8 +188,8 @@ type SmartInfo struct {
|
|||||||
AtaSmartSelectiveSelfTestLog struct {
|
AtaSmartSelectiveSelfTestLog struct {
|
||||||
Revision int `json:"revision"`
|
Revision int `json:"revision"`
|
||||||
Table []struct {
|
Table []struct {
|
||||||
LbaMin int `json:"lba_min"`
|
LbaMin uint64 `json:"lba_min"`
|
||||||
LbaMax int `json:"lba_max"`
|
LbaMax uint64 `json:"lba_max"`
|
||||||
Status struct {
|
Status struct {
|
||||||
Value int `json:"value"`
|
Value int `json:"value"`
|
||||||
String string `json:"string"`
|
String string `json:"string"`
|
||||||
|
|||||||
Reference in New Issue
Block a user