Function statvfs
pub fn statvfs<P>(path: P) -> Result<StatVfs, Errno> ⓘwhere
P: Arg,
Available on crate feature
dep_rustix
only.Expand description
statvfs
—Queries filesystem metadata, POSIX version.
Compared to statfs
, this function often provides less information, but
it is more portable. But even so, filesystems are very diverse and not all
the fields are meaningful for every filesystem. And f_fsid
doesn’t seem
to have a clear meaning anywhere.