Comment 12 for bug 243298

Revision history for this message
Ryan Thompson (rct86) wrote : Re: In hardy, sshfs /etc/mtab and /etc/fstab do not match, umount and unmount through "Disk Mounter" applet do not work

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