fill DiskPartitionStat.Device on freebsd

This commit is contained in:
Nikolay Sivko 2014-08-26 15:29:55 +04:00
parent 662baa0c02
commit 83ca5491a2
1 changed files with 1 additions and 0 deletions

View File

@ -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,