mirror of
https://github.com/rclone/rclone.git
synced 2024-12-21 11:06:55 +08:00
29baa5888f
With automount the target mount drive appears twice in /proc/self/mountinfo. 379 27 0:70 / /mnt/rclone rw,relatime shared:433 - autofs systemd-1 rw,fd=57,... 566 379 0:90 / /mnt/rclone rw,nosuid,nodev,relatime shared:488 - fuse.rclone remote: rw,... Before this fix we only looked for the mount once in /proc/self/mountinfo. It finds the automount line and since this doesn't have fs type rclone it concludes the mount isn't ready yet. This patch makes rclone look through all the mounts and if any of them have fs type rclone it concludes the mount is ready. See: https://forum.rclone.org/t/systemd-mount-works-but-automount-does-not/42287/ |
||
---|---|---|
.. | ||
check_linux.go | ||
check_other.go | ||
help.go | ||
mount.go | ||
rc_test.go | ||
rc.go | ||
sighup_unsupported.go | ||
sighup.go | ||
utils.go |