You are not logged in.

#1 2017-07-14 11:26:16

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

[SOLVED] cannot mount sshfs with "nonempty" option

Depsite manual says:

       -o nonempty
              allow mounts over non-empty file/dir

mounting fails with the message:

koko@Gozer# sshfs root@archups:/ /mnt/ssh -o port=22,nonempty
fuse: unknown option(s): `-o nonempty'

Since sshfs has been updated to 3.0, maybe the manual hasn't been updated upstream, or is something else?

Thanks.

Last edited by kokoko3k (2017-07-15 17:35:11)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2017-07-14 19:33:38

harriman
Member
Registered: 2012-11-22
Posts: 7

Re: [SOLVED] cannot mount sshfs with "nonempty" option

I had the same issue.
As you say, the problem lies in the outdated manual.

The "nonempty" option has been removed from libfuse since version 3.0.0 to bring fuse "in-line with the behavior of the regular mount command".

In version 2.9-1 the sshfs binary links against libfuse 2.9.7, the new version links against libfuse 3.1.0.

$ sshfs --version
SSHFS version 2.9
FUSE library version: 2.9.7
$ sshfs --version                                                      
SSHFS version 3.0.0
FUSE library version 3.1.0

TL;DR: You can just remove the nonempty mount option, it is the default behaviour now.

Offline

#3 2017-07-15 17:13:20

PrimeArgon
Member
From: Holsworthy, Devon
Registered: 2017-07-14
Posts: 15

Re: [SOLVED] cannot mount sshfs with "nonempty" option

Have you solved your problem yet with the sshfs? I'm interested if you've solved it - if possible post back.


Arch + GNOME
------
Please post back your results to help others.

Offline

#4 2017-07-15 17:34:03

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: [SOLVED] cannot mount sshfs with "nonempty" option

Fine, thanks.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB