summaryrefslogtreecommitdiff
path: root/src/sys/statfs.rs
AgeCommit message (Collapse)Author
2021-12-26Fix typosRyan Zoeller
2021-12-20feature-gate most Nix functionsVincent Dagonneau
Using features reduces build time and size for consumer crates. By default all features are enabled.
2021-09-04Document more thingsAlan Somers
Also, test rustdoc in CI, and demote missing_docs from a deny to a warning (but still deny it in CI).
2021-02-15Port statfs to x32наб
2021-02-02Define *_MAGIC filesystem constants on Linux s390xJakob Naucke
Since rust-lang/libc is now using the correct data type on s390x (c_uint) for statfs constants, the s390x exemptions in the statfs MAGIC definitions like EXT4_SUPER_MAGIC can be removed. Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
2020-07-25Merge #1224bors[bot]
1224: Update the Linux CI environment to Ubuntu Bionic r=asomers a=asomers Co-authored-by: Alan Somers <asomers@gmail.com> Co-authored-by: Alan Somers <asomers@axcient.com>
2020-07-04Add FsType for cgroupfsKenta Tada
Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
2020-07-03Skip the OFD locks tests on OverlayFS and muslAlan Somers
OFD lock functions don't work as expected on overlayfs, which is a type of union file system. And OVERLAYFS_SUPER_MAGIC isn't defined on musl, at least not yet.
2020-05-31Convert the crate to edition 2018Alan Somers
2020-04-25Fix compilation on DragonFly (statfs)Michael Neumann
2020-02-13Make FsType's raw type publicMikail Bagishov
2019-12-22Fix the build on OpenBSD.Alan Somers
We were assuming the wrong types for f_iosize and f_ffree in struct statfs on OpenBSD. Fixes #1125
2019-09-03Replace most instances of mem::uninitialized with mem::MaybeUninitAlan Somers
Only two instances remain: * For the deprecated sys::socket::CmsgSpace::new. We should probably just remove that method. * For sys::termios::Termios::default_uninit. This will require some more thought. Fixes #1096
2019-06-12Update statfsalesharik
2018-12-08Replace try! with ?Alan Somers
try! is not available in Rust 2018
2017-12-04Stop reexporting `Errno` and its variantsJonas Schievink
cc #664 (unsure if this is everything needed)
2017-07-07sys/statfs: use statfs from libcJörg Thalheim
the previous definition were linux specific.
2016-01-28Move errno::Result back to crate rootarcnmx
2016-01-28Errno::result()arcnmx
2016-01-25Fix an indentarcnmx
2016-01-25Normalize tabs to spacesarcnmx
2015-09-28statfs() & fstatfs()Alexander Polakov