-
Notifications
You must be signed in to change notification settings - Fork 218
Open
Milestone
Description
Here is my code:
package main
import (
"github.com/jaypipes/ghw"
"log"
)
log.Println(block.String())
for i:=0; i<len(block.Disks);i++{
log.Println(" ", block.Disks[i].String())
}then I got the output:
2021/10/23 00:57:27 block storage (2 disks, 2TB physical storage)
2021/10/23 00:57:27 \\.\PHYSICALDRIVE0 SSD (932GB) IDE [@unknown] vendor=(Standard disk drives) model=TOSHIBA DT01ACA100 serial=50IBH1ZMS
2021/10/23 00:57:27 \\.\PHYSICALDRIVE1 SSD (224GB) IDE [@unknown] vendor=(Standard disk drives) model=WDC WDS240G2G0B-00EPW0 serial=203227454509Which mean I have 2 disks, and one is 932GB, another is 224GB, so WHY does the overall info show 2TB. Seems the accuracy is too low.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels