fill DiskPartitionStat.Device on freebsd
This commit is contained in:
parent
662baa0c02
commit
83ca5491a2
|
@ -71,6 +71,7 @@ func DiskPartitions(all bool) ([]DiskPartitionStat, error) {
|
|||
}
|
||||
|
||||
d := DiskPartitionStat{
|
||||
Device: byteToString(stat.FMntfromname[:]),
|
||||
Mountpoint: byteToString(stat.FMntonname[:]),
|
||||
Fstype: byteToString(stat.FFstypename[:]),
|
||||
Opts: opts,
|
||||
|
|
Loading…
Reference in New Issue