I found the following solution

In fstab, this line couldn't unmount producing the "umount: mount disagrees 
with the fstab" error:
sshfs#fredde@host:/dir/ /media/sshfs/mountpoint fuse user,noauto,idmap=user 0 0

Adding the option "fsname=sshfs#user@host:/dir/" did the trick:
sshfs#fredde@host:/dir/ /media/sshfs/mountpoint fuse 
user,noauto,idmap=user,fsname=sshfs#fredde@host:/dir/ 0 0

The mount now shows up in Nautilus, and can be mounted and unmounted
from there like it should.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/99437

Title:
  umount: mount disagrees with the fstab

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/99437/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to