Skip to content

Commit cc387c4

Browse files
committed
Define UMOUNT_NOFOLLOW, FUSE_SUPER_MAGIC
Requested-by: jiangliu
1 parent 18d1f62 commit cc387c4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/mount/linux.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ libc_bitflags!(
5353
MNT_FORCE;
5454
MNT_DETACH;
5555
MNT_EXPIRE;
56+
UMOUNT_NOFOLLOW;
5657
}
5758
);
5859

src/sys/statfs.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ pub const EXT3_SUPER_MAGIC: FsType = FsType(libc::EXT3_SUPER_MAGIC as fs_type_t)
7373
pub const EXT4_SUPER_MAGIC: FsType = FsType(libc::EXT4_SUPER_MAGIC as fs_type_t);
7474
#[cfg(all(target_os = "linux", not(target_env = "musl")))]
7575
#[allow(missing_docs)]
76+
pub const FUSE_SUPER_MAGIC: FsType = FsType(libc::FUSE_SUPER_MAGIC as fs_type_t);
77+
#[cfg(all(target_os = "linux", not(target_env = "musl")))]
78+
#[allow(missing_docs)]
7679
pub const HPFS_SUPER_MAGIC: FsType = FsType(libc::HPFS_SUPER_MAGIC as fs_type_t);
7780
#[cfg(all(target_os = "linux", not(target_env = "musl")))]
7881
#[allow(missing_docs)]

0 commit comments

Comments
 (0)