Use POSIX statvfs, since statfs is not designed to be portable (#1495)

This commit is contained in:
Jan S
2026-01-14 09:03:32 +01:00
committed by GitHub
parent 27480f7625
commit 68c5c0b834
4 changed files with 28 additions and 68 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
use rustfs_config::VERSION;
use std::env;
use std::fmt;
#[cfg(not(any(target_os = "openbsd", target_os = "freebsd")))]
#[cfg(not(any(target_os = "openbsd", target_os = "freebsd", target_os = "netbsd")))]
use sysinfo::System;
/// Business Type Enumeration