rustix::fs

Function statvfs

Source
pub fn statvfs<P: Arg>(path: P) -> Result<StatVfs>
Available on crate feature fs 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.

§References