pub fn fstatvfs<Fd: AsFd>(fd: Fd) -> Result<StatVfs>
Available on crate feature
fs
only.Expand description
fstatvfs(fd)
—Queries filesystem statistics for an open file or
directory, POSIX version.
Compared to fstatfs
, 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.