@@ -143,21 +143,21 @@ type SmartInfo struct {
|
|||||||
ErrorNumber int `json:"error_number"`
|
ErrorNumber int `json:"error_number"`
|
||||||
LifetimeHours int `json:"lifetime_hours"`
|
LifetimeHours int `json:"lifetime_hours"`
|
||||||
CompletionRegisters struct {
|
CompletionRegisters 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"`
|
||||||
PreviousCommands []struct {
|
PreviousCommands []struct {
|
||||||
Registers struct {
|
Registers 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"`
|
||||||
PowerupMilliseconds int `json:"powerup_milliseconds"`
|
PowerupMilliseconds int `json:"powerup_milliseconds"`
|
||||||
CommandName string `json:"command_name"`
|
CommandName string `json:"command_name"`
|
||||||
@@ -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