-
Notifications
You must be signed in to change notification settings - Fork 10
/
sata_other.go
41 lines (31 loc) · 961 Bytes
/
sata_other.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// go:build !linux
//go:build !linux
// +build !linux
package smart
func OpenSata(name string) (*SataDevice, error) {
return nil, ErrOSUnsupported
}
func (d *SataDevice) Close() error {
return ErrOSUnsupported
}
func (d *SataDevice) Identify() (*AtaIdentifyDevice, error) {
return nil, ErrOSUnsupported
}
func (d *SataDevice) readSMARTLog(logPage uint8) ([]byte, error) {
return nil, ErrOSUnsupported
}
func (d *SataDevice) readSMARTData() (*AtaSmartPageRaw, error) {
return nil, ErrOSUnsupported
}
func (d *SataDevice) ReadSMARTLogDirectory() (*AtaSmartLogDirectory, error) {
return nil, ErrOSUnsupported
}
func (d *SataDevice) ReadSMARTErrorLogSummary() (*AtaSmartErrorLogSummary, error) {
return nil, ErrOSUnsupported
}
func (d *SataDevice) ReadSMARTSelfTestLog() (*AtaSmartSelfTestLog, error) {
return nil, ErrOSUnsupported
}
func (d *SataDevice) readSMARTThresholds() (*AtaSmartThresholdsPageRaw, error) {
return nil, ErrOSUnsupported
}