diff --git a/block.go b/block.go index d584d241..ef03f9bb 100644 --- a/block.go +++ b/block.go @@ -221,7 +221,7 @@ func (p *Partition) String() string { sizeStr = fmt.Sprintf("%d%s", size, unitStr) } return fmt.Sprintf( - "/dev/%s (%s) %s%s", + "%s (%s) %s%s", p.Name, sizeStr, typeStr, diff --git a/block_windows.go b/block_windows.go index 51f53286..2aacf4bf 100644 --- a/block_windows.go +++ b/block_windows.go @@ -105,6 +105,7 @@ func (ctx *context) blockFillInfo(info *BlockInfo) error { StorageController: toStorageController(diskdrive.InterfaceType), BusType: toBusType(diskdrive.InterfaceType), BusPath: UNKNOWN, // TODO: add information + NUMANodeID: -1, Vendor: strings.TrimSpace(diskdrive.Manufacturer), Model: strings.TrimSpace(diskdrive.Caption), SerialNumber: strings.TrimSpace(diskdrive.SerialNumber),