summaryrefslogtreecommitdiff
path: root/src/sys/statfs.rs
diff options
context:
space:
mode:
authorRyan Zoeller <rtzoeller@rtzoeller.com>2022-01-14 08:04:52 -0600
committerRyan Zoeller <rtzoeller@rtzoeller.com>2022-01-18 16:52:23 -0600
commit65039212d1b1dce51c250ad552a92a7a077c54a8 (patch)
tree8ff0b1f1b3a0bedb7ffeb1e6263dcf79ea2b62fb /src/sys/statfs.rs
parent18d1f62b150177ca4c40e2cbe21a98ddba80ecf7 (diff)
downloadnix-65039212d1b1dce51c250ad552a92a7a077c54a8.zip
Define UMOUNT_NOFOLLOW, FUSE_SUPER_MAGIC on Linux
Requested-by: jiangliu
Diffstat (limited to 'src/sys/statfs.rs')
-rw-r--r--src/sys/statfs.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sys/statfs.rs b/src/sys/statfs.rs
index 62273475..e46733e7 100644
--- a/src/sys/statfs.rs
+++ b/src/sys/statfs.rs
@@ -73,6 +73,9 @@ pub const EXT3_SUPER_MAGIC: FsType = FsType(libc::EXT3_SUPER_MAGIC as fs_type_t)
pub const EXT4_SUPER_MAGIC: FsType = FsType(libc::EXT4_SUPER_MAGIC as fs_type_t);
#[cfg(all(target_os = "linux", not(target_env = "musl")))]
#[allow(missing_docs)]
+pub const FUSE_SUPER_MAGIC: FsType = FsType(libc::FUSE_SUPER_MAGIC as fs_type_t);
+#[cfg(all(target_os = "linux", not(target_env = "musl")))]
+#[allow(missing_docs)]
pub const HPFS_SUPER_MAGIC: FsType = FsType(libc::HPFS_SUPER_MAGIC as fs_type_t);
#[cfg(all(target_os = "linux", not(target_env = "musl")))]
#[allow(missing_docs)]