You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/disk
Tobias Klauser 6aae71ca26 Use Getstatfs from golang.org/x/sys/unix for 64-bit inode support on FreeBSD 12
Use unix.Getstatfs and its associated Statfs_t type instead of
implementing them locally in this package. This allows to use 64-bit
inode fields on FreeBSD 12 while still keeping backwards compatibility
for old FreeBSD versions, as unix.Getfsstat will use the correct syscall
number and data structure version and convert its result
correspondingly.

Also see https://golang.org/cl/136816 for details.
5 years ago
..
disk.go [disk][linux] add label based on devicemapper name of disk 7 years ago
disk_darwin.c [disk][darwin] Fix #560 using github.com/lufia/iostat cgo implementation 6 years ago
disk_darwin.go disk: Check for error objects returned by Getfsstat 7 years ago
disk_darwin.h [disk][darwin] Fix #560 using github.com/lufia/iostat cgo implementation 6 years ago
disk_darwin_386.go [disk] darwin i386: add definition for darwin/386 7 years ago
disk_darwin_amd64.go [disk] darwin i386: add definition for darwin/386 7 years ago
disk_darwin_arm64.go [disk] darwin i386: add definition for darwin/386 7 years ago
disk_darwin_cgo.go [disk][darwin] Fix #560 using github.com/lufia/iostat cgo implementation 6 years ago
disk_darwin_nocgo.go Add WithContext functions. 7 years ago
disk_fallback.go Revert "[disk][openbsd] Use fallback for openBSD not on amd64" 6 years ago
disk_freebsd.go Use Getstatfs from golang.org/x/sys/unix for 64-bit inode support on FreeBSD 12 5 years ago
disk_freebsd_386.go Use Getstatfs from golang.org/x/sys/unix for 64-bit inode support on FreeBSD 12 5 years ago
disk_freebsd_amd64.go Use Getstatfs from golang.org/x/sys/unix for 64-bit inode support on FreeBSD 12 5 years ago
disk_freebsd_arm.go Use Getstatfs from golang.org/x/sys/unix for 64-bit inode support on FreeBSD 12 5 years ago
disk_freebsd_arm64.go Use Getstatfs from golang.org/x/sys/unix for 64-bit inode support on FreeBSD 12 5 years ago
disk_linux.go [disk][linux] Fix #555 for kernels >=2.6.26 6 years ago
disk_openbsd.go Add missing OpenBSD mount option strings 5 years ago
disk_openbsd_386.go Use MNT_* consts from golang.org/x/sys/unix on freebsd and openbsd 5 years ago
disk_openbsd_amd64.go Use MNT_* consts from golang.org/x/sys/unix on freebsd and openbsd 5 years ago
disk_solaris.go Add WithContext functions. 7 years ago
disk_test.go [disk][darwin] Fix #560 using github.com/lufia/iostat cgo implementation 6 years ago
disk_unix.go Fix typos 6 years ago
disk_windows.go [disk][windows]: does not define ret at begining of the function. 6 years ago
types_freebsd.go Use Getstatfs from golang.org/x/sys/unix for 64-bit inode support on FreeBSD 12 5 years ago
types_openbsd.go Use MNT_* consts from golang.org/x/sys/unix on freebsd and openbsd 5 years ago