You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rclone drives not showing up in Finder sidebar and Desktop #3545
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.
@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)
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.
Activity
ncw commentedon Sep 18, 2019
I think you are using this option: https://github.com/osxfuse/osxfuse/wiki/Mount-options#user-content-local
Unfortunately the standard
rclone mountdoesn'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-flaglooking for that option...rclone/cmd/mount/mount.go
Lines 73 to 75 in c49a71f
Because the fuse library does support it
https://github.com/bazil/fuse/blob/65cc252bf6691cb3c7014bcb2c8dc29de91e3a7e/options.go#L71-L72
aatreya commentedon May 27, 2020
Why is it important to parse these flags rather than just passing them through to FUSE as-is?
ncw commentedon May 31, 2020
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--localsay which will only work on macOS and will set the fuse option.andresmatasuarez commentedon Aug 31, 2020
so, in the meantime, is there a fix for this? how can I achieve passing fuse flags down via rclone?
ncw commentedon Sep 8, 2020
The macOS build now support
rclone cmountwhich will becomerclone mountin v1.54So you can use
rclone cmountnow and pass fuse options with the-o localflag as this does use libfuse.ivandeex commentedon Nov 14, 2020
@andresmatasuarez @v57
Please try
rclone cmountwith latest rclone 1.53.2Does the problem reproduce?
ivandeex commentedon Feb 7, 2021
Closed after 3 months of inactivity
andresmatasuarez commentedon Mar 3, 2021
@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
rcloneto latest version such that runningrclone versionthrows:Under Linux, neither
cmountis recognized (Error: unknown command "cmount" for "rclone") nor-o/--fuse-flagarguments work (both log... not supported with this FUSE backend)ivandeex commentedon Mar 3, 2021
We have two distribution formats for Linux:
.zipand.deb. The former contains a static binary that supports onlymountcommand with a limited set of features. You want.debwhich has rclone as dynamic executable linked with libfuse and hascmountwith 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.*.debandresmatasuarez commentedon Mar 3, 2021
@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-intervalfor Dropbox) to no availivandeex commentedon Mar 3, 2021
I think that
echo $PATHandwhich rcloneandrclone versionwill explain your gotcha. Try to run using the full path/usr/bin/rclone, it comes right from deb. Andldd /usr/bin/rclonemust show a list of dynamic libraries.ivandeex commentedon Mar 3, 2021
@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
cmountand libfuse ??ivandeex commentedon Mar 3, 2021
@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
ivandeex commentedon Mar 3, 2021
from the forum:
@andresmatasuarez
So there is no official fix on Linux as of yet. Only Windows and OSX can support libfuse flags as of yet.
ivandeex commentedon Mar 3, 2021
I guess we have the original request sorted on
OS: Macivandeex commentedon Mar 3, 2021
Closing in favor of #5090