shirou_gopsutil/disk
Remy Mathieu fda98ebc34 disk: trim the device mapper name.
While reading the value of the file with `ioutil.ReadFile`,
the name is suffixed with a `\n`

Tested on Ubuntu 18.10
2018-12-17 10:59:17 +01:00
..
disk.go [disk][linux] add label based on devicemapper name of disk 2018-04-26 18:27:15 -04:00
disk_darwin.go disk: Check for error objects returned by Getfsstat 2018-06-21 16:48:16 +02:00
disk_darwin.h disk_darwin: Add support for IOCounters using IOKit 2017-03-30 18:58:03 +02:00
disk_darwin_386.go [disk] darwin i386: add definition for darwin/386 2018-03-31 17:02:38 +09:00
disk_darwin_amd64.go [disk] darwin i386: add definition for darwin/386 2018-03-31 17:02:38 +09:00
disk_darwin_arm64.go [disk] darwin i386: add definition for darwin/386 2018-03-31 17:02:38 +09:00
disk_darwin_cgo.go Add WithContext functions. 2017-12-31 15:25:49 +09:00
disk_darwin_nocgo.go Add WithContext functions. 2017-12-31 15:25:49 +09:00
disk_fallback.go Add WithContext functions. 2017-12-31 15:25:49 +09:00
disk_freebsd.go disk: Check for error objects returned by Getfsstat 2018-06-21 16:48:16 +02:00
disk_freebsd_386.go [disk]freebsd: update 386. 2016-04-23 23:43:00 +09:00
disk_freebsd_amd64.go Merge branch 'master' into v2 2016-03-31 18:08:24 +09:00
disk_linux.go disk: trim the device mapper name. 2018-12-17 10:59:17 +01:00
disk_openbsd.go disk: Check for error objects returned by Getfsstat 2018-06-21 16:48:16 +02:00
disk_openbsd_amd64.go run go fmt ./... 2017-02-01 23:05:29 +00:00
disk_solaris.go Add WithContext functions. 2017-12-31 15:25:49 +09:00
disk_test.go [disk]linux: fix test 2018-05-02 14:58:36 +09:00
disk_unix.go [disk] add an comment. 2018-08-01 14:39:43 +09:00
disk_windows.go Merge pull request #613 from tmm1/allow-a-b-windows-drives 2018-11-21 20:19:05 +09:00
types_freebsd.go [disk]freebsd: change to use C.sizeof_struct. 2016-03-20 22:48:17 +09:00
types_openbsd.go run go fmt ./... 2017-02-01 23:05:29 +00:00