From a08587b348448e226eeafbd973d998435bbaf6ea Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Thu, 18 May 2017 23:38:11 -0400 Subject: [PATCH] Update disk_linux.go --- disk/disk_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk/disk_linux.go b/disk/disk_linux.go index 7d57f0a..63aa23b 100644 --- a/disk/disk_linux.go +++ b/disk/disk_linux.go @@ -215,7 +215,7 @@ var fsTypeMap = map[int64]string{ // physical devices only (e.g. hard disks, cd-rom drives, USB keys) // and ignore all others (e.g. memory partitions such as /dev/shm) func Partitions(all bool) ([]PartitionStat, error) { - filename := common.HostProc("mounts") + filename := common.HostProc("self/mounts") lines, err := common.ReadLines(filename) if err != nil { return nil, err