Skip to content

rclone drives not showing up in Finder sidebar and Desktop #3545

Closed

Description

@v57

When i connect my drives i want them to show up in my finder sidebar so i can easily access them and see if they are connected or not.

I tried this command with flag local (which works in sshfs)

rclone mount --allow-non-empty --fuse-flag local yandex:/ /Volumes/Yandex

But it still didn't shows in my sidebar.

Activity

  1. ncw commented on Sep 18, 2019

    @ncw
    Member

    I think you are using this option: https://github.com/osxfuse/osxfuse/wiki/Mount-options#user-content-local

    Unfortunately the standard rclone mount doesn't support --fuse-flag - you should have seen an ERROR in the log.

    It would be relatively straight forward to add a new flag, or parse the --fuse-flag looking for that option...

    if len(mountlib.ExtraFlags) > 0 {
    fs.Errorf(nil, "--fuse-flag not supported with this FUSE backend")
    }

    Because the fuse library does support it

    https://github.com/bazil/fuse/blob/65cc252bf6691cb3c7014bcb2c8dc29de91e3a7e/options.go#L71-L72

  2. added this to the Help Wanted milestone on Sep 18, 2019
  3. aatreya commented on May 27, 2020

    @aatreya

    Why is it important to parse these flags rather than just passing them through to FUSE as-is?

  4. ncw commented on May 31, 2020

    @ncw
    Member

    Why is it important to parse these flags rather than just passing them through to FUSE as-is?

    That is because the fuse library rclone uses doesn't actually use libfuse - it talks straight to the kernel.

    Does anyone want to have a go at this?

    We could either parse the input to --fuse-flag - probably not my favoured option as these options are for passing to fuse, or add a new option --local say which will only work on macOS and will set the fuse option.

  5. andresmatasuarez commented on Aug 31, 2020

    @andresmatasuarez

    so, in the meantime, is there a fix for this? how can I achieve passing fuse flags down via rclone?

  6. ncw commented on Sep 8, 2020

    @ncw
    Member

    The macOS build now support rclone cmount which will become rclone mount in v1.54

    So you can use rclone cmount now and pass fuse options with the -o local flag as this does use libfuse.

  7. ivandeex commented on Nov 14, 2020

    @ivandeex
    Member

    @andresmatasuarez @v57
    Please try rclone cmount with latest rclone 1.53.2
    Does the problem reproduce?

  8. ivandeex commented on Feb 7, 2021

    @ivandeex
    Member

    Closed after 3 months of inactivity

  9. andresmatasuarez commented on Mar 3, 2021

    @andresmatasuarez

    @ncw @ivandeex sorry for the ultra late response. I've just got time to give this another try and sadly it didn't work.

    I'm using Ubuntu though, so maybe that's a deciding factor? I updated rclone to latest version such that running rclone version throws:

    rclone v1.54.0
    - os/arch: linux/amd64
    - go version: go1.15.7
    

    Under Linux, neither cmount is recognized (Error: unknown command "cmount" for "rclone") nor -o/--fuse-flag arguments work (both log ... not supported with this FUSE backend)

  10. ivandeex commented on Mar 3, 2021

    @ivandeex
    Member

    We have two distribution formats for Linux: .zip and .deb. The former contains a static binary that supports only mount command with a limited set of features. You want .deb which has rclone as dynamic executable linked with libfuse and has cmount with extended features.
    Please download https://downloads.rclone.org/v1.54.0/rclone-v1.54.0-linux-amd64.deb and install it as root sudo dpkg -i rclone-v1.*.deb

  11. andresmatasuarez commented on Mar 3, 2021

    @andresmatasuarez

    @ivandeex no luck, did what you said and I'm still getting Error: unknown command "cmount" for "rclone"

    I even tried upgrading to beta release 1.55 using this package https://beta.rclone.org/v1.55.0-beta.5241.0ad38dd6f/rclone-v1.55.0-beta.5241.0ad38dd6f-linux-amd64.deb (cause I need poll-interval for Dropbox) to no avail

  12. ivandeex commented on Mar 3, 2021

    @ivandeex
    Member

    I think that echo $PATH and which rclone and rclone version will explain your gotcha. Try to run using the full path /usr/bin/rclone, it comes right from deb. And ldd /usr/bin/rclone must show a list of dynamic libraries.

  13. ivandeex commented on Mar 3, 2021

    @ivandeex
    Member

    @andresmatasuarez
    I am sorry, was wrong. Just rechecked on a clean box. The deb from the link contains a static executable, which isn't what you want.

    @animosity22
    Please advise, which Linux artifact from https://downloads.rclone.org/v1.54.0/ has a dynamic executable and supports cmount and libfuse ??

  14. ivandeex commented on Mar 3, 2021

    @ivandeex
    Member

    @andresmatasuarez
    While rclone gurus confirm existence and location of official rclone binary with cmount/libfuse, you can try my unofficial beta https://github.com/ivandeex/rclone/releases/tag/v1.54-iva04
    I build it for deployment on my farm. It's a single executable, don't forget chmod 755 ...

    https://forum.rclone.org/t/rclone-cmount-on-linux/22602

  15. ivandeex commented on Mar 3, 2021

    @ivandeex
    Member

    from the forum:

    [rclone for linux with libfuse feature] isn't officially packaged yet but you can build it yourself with go build -tags cmount

    @andresmatasuarez
    So there is no official fix on Linux as of yet. Only Windows and OSX can support libfuse flags as of yet.

    so, in the meantime, is there a fix for this? how can I achieve passing fuse flags down via rclone?

  16. ivandeex commented on Mar 3, 2021

    @ivandeex
    Member

    I guess we have the original request sorted on OS: Mac

  17. removed this from the Help Wanted milestone on Mar 3, 2021
  18. ivandeex commented on Mar 3, 2021

    @ivandeex
    Member

    Closing in favor of #5090

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions