Rclone cmount on linux?

What is the problem you are having with rclone?

I would like to use extended mount flags provided by rclone cmount on Linux.
I tried both .zip and .deb from https://downloads.rclone.org/v1.54.0/ to no avail, no such support
Is libfuse-aware rclone for Linux officially distributed?

This was also requested in issue#3545 and pull#5080

What is your rclone version (output from rclone version)

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

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu 18.04, 64bit

Which cloud storage system are you using? (eg Google Drive)

Local FS, in fact it doesn't matter for this question.

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone cmount local ./mnt -vv

The rclone config contents with secrets removed.

[local]
type = alias
remote = /tmp

A log from the command with the -vv flag

Error: unknown command "cmount" for "rclone"

Did you mean this?
              mount
Run 'rclone --help' for usage.            
2021/03/03 09:44:25 Fatal error: unknown command "cmount" for "rclone"              
Did you mean this?                   
             mount

You can build it yourself with

go build -tags cmount

This isn't officially packaged yet

Understood. I am going to add a check in the selfupdate command. It will stop with error if current executable is built with cmount but official distribution for the OS is not, i.e. it's not windows or darwin.

Do you think it's a good idea to make rclone version print additional information about the build, at least libfuse support.
A few ideas for a new output format (for scratching, we don't need them all):

rclone v1.54.0
- os/arch: linux/amd64
- go version: go1.15.7
- executable: static (dynamic)
- libfuse: supported (not supported)
- features: libfuse (basic)
- tags: cmount (none)

Knowing whether it is a CGO enabled build or not would be really useful, so whether it is static or dynamic. I don't know how to read this but it would be very useful for debugging DNS problems.

Which build tags would be useful. I don't think you can read this from the runtime though.

So we'd have to pass the tags into a variable in the make file I think.

So I'd suggest this - the libfuse support should be equivalent to the cmount flag.

rclone v1.54.0
- os/arch: linux/amd64
- go version: go1.15.7
- executable: static (dynamic)
- tags: cmount (none)
1 Like

Will submit a patch later. Requirements were captured in https://github.com/rclone/rclone/issues/5091

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.