minio/pkg/sys
Matthias Petermann 0745736e28
Use hw.physmem64 instead of hw.physmem for NetBSD in pkg/sys/getHwPhysmem (#10907)
"hw.physmem" only reports reasonable results on 32 bit systems and is
kept to not break binary compatibility. On other systems, it reports
"-1". "hw.phymem64" reports reasonable results on all systems.

MinIO getHwPhysmem method currently uses the deprecated 
"hw.physmem" key which results in a parse error (due to the -1).

This pull request asks for changing this. The change was tested
successfully on NetBSD/amd64 9.1.
2020-11-16 20:53:47 -08:00
..
rlimit-file_bsd.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
rlimit-file_nix.go on darwin fallback to maximum possible rlimit (#9859) 2020-06-17 07:47:42 -07:00
rlimit-file_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
rlimit-file_windows.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
rlimit-memory_bsd.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
rlimit-memory_nix.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
rlimit-memory_openbsd.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
rlimit-memory_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
rlimit-memory_windows.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
stats_bsd.go Use hw.physmem64 instead of hw.physmem for NetBSD in pkg/sys/getHwPhysmem (#10907) 2020-11-16 20:53:47 -08:00
stats_darwin.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
stats_linux_32bit.go add ruleguard support, fix all the reported issues (#10335) 2020-08-24 12:11:20 -07:00
stats_linux.go add ruleguard support, fix all the reported issues (#10335) 2020-08-24 12:11:20 -07:00
stats_netbsd.go Use hw.physmem64 instead of hw.physmem for NetBSD in pkg/sys/getHwPhysmem (#10907) 2020-11-16 20:53:47 -08:00
stats_solaris.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
stats_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
stats_windows.go fix: Allow Walk to honor load balanced drives (#10610) 2020-10-01 20:24:34 -07:00
stats.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
threads_other.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
threads.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00