Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fuse: unknown option(s): `-o cache=no' #78

Closed
Soukyuu opened this issue Aug 6, 2017 · 2 comments
Closed

fuse: unknown option(s): `-o cache=no' #78

Soukyuu opened this issue Aug 6, 2017 · 2 comments

Comments

@Soukyuu
Copy link

Soukyuu commented Aug 6, 2017

Hello,

I've recently updated my arch linux installation and all of my sshfs shares stopped mounting. Attempting to mount manually via

# mount -a

gives me a fuse: unknown option(s): '-o cache=no' for every of my sshfs shares. man sshfs still lists the option, however.

I'm running the following at the moment:

SSHFS version 3.0.0
FUSE library version 3.1.0
using FUSE kernel interface version 7.26
fusermount3 version: 3.1.0

A sample non-working /etc/fstab entry:

[email protected]:/mnt/data/share             /home/myuser/Share       fuse.sshfs      x-systemd.automount,idmap=user,port=12345,_netdev,identityfile=/home/myuser/.ssh/id_rsa,allow_other,default_permissions,uid=1000,gid=1005,reconnect,cache=no,kernel_cache,compression=no 0 0

Removing cache=no from the entry solves the problem.

@Nikratio
Copy link
Contributor

Nikratio commented Aug 6, 2017

Thanks for the report! From the ChangeLog.rst file:

Release 3.1.0 (2017-08-04)
--------------------------

[...]
* For improved backwards compatibility, SSHFS now also silently
  accepts the old ``-o cache_*`` options.

Release 3.0.0 (2017-07-08)
--------------------------

[...]
* The `cache` option has been renamed to `dir_cache` for clarity.  

@Nikratio Nikratio closed this as completed Aug 6, 2017
@Soukyuu
Copy link
Author

Soukyuu commented Aug 7, 2017

Thanks for the fast reply!
I guess the man page entry really wasn't changed accordingly then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants