gopsutil
gopsutil copied to clipboard
get Fstype is empty on windows
trafficstars
Describe the bug [A clear and concise description of what the bug is.]
To Reproduce
disk_stat, _ := disk.Usage(disk_partition.Mountpoint)
println(disk_stat.String())
is output:
{"path":"C:","fstype":"","total":136041693184,"free":11213991936,"used":124827701248,"usedPercent":91.7569447472013,"inodesTotal":0,"inodesUsed":0,"inodesFree":0,"inodesUsedPercent":0}
Expected behavior return Fstype.
Environment (please complete the following information):
- [x] Windows: [windows 10 / windows 2019]
Additional context complie on windows 10
Yes, Fstype on Windows is not implemented yet. PR is always welcome!