Module nix::sys::statfs
#[cfg(any(target_os = "android", target_os = "dragonfly", target_os =
"freebsd", target_os = "ios", target_os = "linux", target_os = "macos",
target_os = "openbsd"))]
Documentation
Get filesystem statistics, non-portably
See statvfs
for a portable alternative.
Structs
FsType any(target_os = "freebsd", target_os = "android", all(target_os = "linux", target_arch = "s390x"), all(target_os = "linux", target_env = "musl"), all(target_os = "linux", not(any(target_arch = "s390x", target_env = "musl"))),)
Describes the file system type as known by the operating system.
Describes a mounted file system
Functions
Type Definitions
fsid_t not(target_os = "android")
Identifies a mounted file system
Constants
ADFS_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
AFFS_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
CGROUP2_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
CGROUP_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
CODA_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
CRAMFS_MAGIC all(target_os = "linux", not(target_env = "musl"))
EFS_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
EXT2_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
EXT3_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
EXT4_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
HPFS_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
HUGETLBFS_MAGIC all(target_os = "linux", not(target_env = "musl"))
ISOFS_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
JFFS2_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
MINIX2_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
MINIX2_SUPER_MAGIC2 all(target_os = "linux", not(target_env = "musl"))
MINIX_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
MINIX_SUPER_MAGIC2 all(target_os = "linux", not(target_env = "musl"))
MSDOS_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
NCP_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
NFS_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
OPENPROM_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
OVERLAYFS_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
PROC_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
QNX4_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
REISERFS_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
SMB_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))
TMPFS_MAGIC all(target_os = "linux", not(target_env = "musl"))
USBDEVICE_SUPER_MAGIC all(target_os = "linux", not(target_env = "musl"))