Struct nix::sys::statvfs::vfs::Statvfs [] [src]

#[repr(C)]
pub struct Statvfs { pub f_bsize: c_ulong, pub f_frsize: c_ulong, pub f_blocks: u64, pub f_bfree: u64, pub f_bavail: u64, pub f_files: u64, pub f_ffree: u64, pub f_favail: u64, pub f_fsid: c_ulong, pub f_flag: FsFlags, pub f_namemax: c_ulong, // some fields omitted }

The posix statvfs struct

http://linux.die.net/man/2/statvfs

Fields

Filesystem block size. This is the value that will lead to most efficient use of the filesystem

Fragment Size -- actual minimum unit of allocation on this filesystem

Total number of blocks on the filesystem

Number of unused blocks on the filesystem, including those reserved for root

Number of blocks available to non-root users

Total number of inodes available on the filesystem

Number of inodes available on the filesystem

Number of inodes available to non-root users

File System ID

Mount Flags

Maximum filename length

Methods

impl Statvfs
[src]

Create a new Statvfs object and fill it with information about the mount that contains path

Replace information in this struct with information about path

Create a new Statvfs object and fill it with information from fd

Replace information in this struct with information about fd

Trait Implementations

impl Debug for Statvfs
[src]

Formats the value using the given formatter.

impl Copy for Statvfs
[src]

impl Clone for Statvfs
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Statvfs
[src]

Create a statvfs object initialized to all zeros