diff options
author | Ryan Zoeller <rtzoeller@rtzoeller.com> | 2022-01-14 08:04:52 -0600 |
---|---|---|
committer | Ryan Zoeller <rtzoeller@rtzoeller.com> | 2022-01-18 16:52:23 -0600 |
commit | 65039212d1b1dce51c250ad552a92a7a077c54a8 (patch) | |
tree | 8ff0b1f1b3a0bedb7ffeb1e6263dcf79ea2b62fb /src/sys/statfs.rs | |
parent | 18d1f62b150177ca4c40e2cbe21a98ddba80ecf7 (diff) | |
download | nix-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.rs | 3 |
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)] |