Here is a quick perl one-liner that fixed *my* sshfs fstab lines to use
the "fsname" option. You may try it on your own fstab at your own risk.

sudo perl -lape 's/(sshfs#\S+)(\s+\S+\s+\S+\s+)(.*)/\1\2fsname=\1,\3/'
-i /etc/fstab

-- 
In hardy, sshfs /etc/mtab and /etc/fstab do not match, umount and unmount 
through "Disk Mounter" applet do not work
https://bugs.launchpad.net/bugs/243298
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to