Giter Site home page Giter Site logo

Comments (2)

Animosity022 avatar Animosity022 commented on May 27, 2024

The best way around that is to make sure all IO is stopped as if you have a network mount, it's going to be gritty to make anything stop 'nicely'.

I use systemd and ensure all processes connected are stopped before trying to stop the mount.

Even 5 times or 50 times, I don't think most people would figure out they need to stop processes connected to it.

Most folks already do a lazy unmount as well.

from rclone.

ncw avatar ncw commented on May 27, 2024

@nh2 which mount command are you using?

rclone mount uses bazil.org/fuse whereas rclone mount2 uses github.com/hanwen/go-fuse/v2?

If you are using rclone mount but investigating github.com/hanwen/go-fuse/v2 then you are investigating the wrong library :-(

There is also rclone cmount which you get if you build with -tags cmount on linux but it the default mount on macOS and Windows. This uses github.com/winfsp/cgofuse. This understands libfuse options - maybe there is a mount option for lazy unmount?

Can you try all 3 mounts and see if they have the same behaviour?

If we want to make lazy unmount an option then we need to add it to all 3 mounts ideally.

If you want to try the retry 5 times then try rclone mount2 and it should call the hanwen fuse code you linked above.

from rclone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.