Function rustix::fs::statvfs

source ·
pub fn statvfs<P: Arg>(path: P) -> Result<StatVfs>
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