shirou_gopsutil/disk
Alexander Scheel aee8cecfcd Mirror updated x/sys/unix OpenBSD Statfs_t fields
Per change in x/sys/unix, these Statfs_t fields are now converted to
[]byte rather than []int8. Callers with updated x/sys/unix versions will
now see something like:

> Error: ../../../go/pkg/mod/github.com/shirou/gopsutil@v3.21.5+incompatible/disk/disk_openbsd.go:59:53: cannot use stat.F_mntfromname[:] (type []byte) as type []int8 in argument to common.IntToString
> Error: ../../../go/pkg/mod/github.com/shirou/gopsutil@v3.21.5+incompatible/disk/disk_openbsd.go:60:51: cannot use stat.F_mntonname[:] (type []byte) as type []int8 in argument to common.IntToString
> Error: ../../../go/pkg/mod/github.com/shirou/gopsutil@v3.21.5+incompatible/disk/disk_openbsd.go:61:52: cannot use stat.F_fstypename[:] (type []byte) as type []int8 in argument to common.IntToString
> Error: ../../../go/pkg/mod/github.com/shirou/gopsutil@v3.21.5+incompatible/disk/disk_openbsd.go:149:45: cannot use stat.F_fstypename[:] (type []byte) as type []int8 in argument to common.IntToString

It is probably prudent to update to the newer struct definitions as a
result.

See also: https://groups.google.com/g/golang-codereviews/c/bPBR9-4hV6E
See also: https://go-review.googlesource.com/c/sys/+/407195/2
See also: bc2c85ada1

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2022-06-06 14:05:41 -04:00
..
disk.go delete v2 directory, move v3 to top #1078 2021-11-30 23:47:59 +00:00
disk_aix.go gofumpt 2021-12-22 21:54:41 +00:00
disk_darwin.go gofumpt 2021-12-22 21:54:41 +00:00
disk_darwin_cgo.go gofumpt 2021-12-22 21:54:41 +00:00
disk_darwin_nocgo.go gofumpt 2021-12-22 21:54:41 +00:00
disk_fallback.go gofumpt 2021-12-22 21:54:41 +00:00
disk_freebsd.go refactor: remove unnecessary exec.LookPath calls 2022-03-04 18:56:33 +02:00
disk_freebsd_386.go gofumpt 2021-12-22 21:54:41 +00:00
disk_freebsd_amd64.go gofumpt 2021-12-22 21:54:41 +00:00
disk_freebsd_arm.go gofumpt 2021-12-22 21:54:41 +00:00
disk_freebsd_arm64.go gofumpt 2021-12-22 21:54:41 +00:00
disk_linux.go follow the psutil principles, do nothing if can not find root device 2022-05-01 02:33:09 +00:00
disk_openbsd.go Mirror updated x/sys/unix OpenBSD Statfs_t fields 2022-06-06 14:05:41 -04:00
disk_openbsd_386.go gofumpt 2021-12-22 21:54:41 +00:00
disk_openbsd_amd64.go delete v2 directory, move v3 to top #1078 2021-11-30 23:47:59 +00:00
disk_openbsd_arm.go host: add support for OpenBSD/armv7 2022-04-15 21:11:36 +02:00
disk_openbsd_arm64.go gofumpt 2021-12-22 21:54:41 +00:00
disk_solaris.go refactor: remove unnecessary exec.LookPath calls 2022-03-04 18:56:33 +02:00
disk_test.go enable errorlint linter 2021-12-04 22:29:38 +01:00
disk_unix.go gofumpt 2021-12-22 21:54:41 +00:00
disk_windows.go [disk][windows] Set EnableCounterForIoctl reg key to 1 in init() to automatically enable diskperf on Server editions 2022-05-05 22:33:24 +02:00
iostat_darwin.c [mac] fix deprecated code in macOS Monterey 2021-12-04 03:37:03 +00:00
iostat_darwin.h [mac] fix deprecated code in macOS Monterey 2021-12-04 03:37:03 +00:00
types_freebsd.go gofumpt 2021-12-22 21:54:41 +00:00
types_openbsd.go gofumpt 2021-12-22 21:54:41 +00:00