We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17b7ca6 commit 99b4a36Copy full SHA for 99b4a36
mountpoint-s3-fs/src/fuse/config.rs
@@ -187,7 +187,11 @@ impl MountPoint {
187
// some reason.
188
match Process::myself().and_then(|me| me.mountinfo()) {
189
Ok(mounts) => {
190
- if mounts.0.iter().any(|mount| mount.mount_point == path) {
+ if mounts
191
+ .0
192
+ .iter()
193
+ .any(|mount| mount.mount_point == path && mount.fs_type != "autofs")
194
+ {
195
return Err(anyhow!("mount point {} is already mounted", path.display()));
196
}
197
0 commit comments