Ssh – Remount an SSHFS mount without umounting it

fusemountsshfs

What is the equivalent to mount -o remount,ro in an sshfs mount?

The only way I know is to do fusermount -u and then mount it again with sshfs -o ro.

Best Answer

FUSE doesn't have any generic support for the remount option. In 2006 with FUSE 2.6 this was described as impossible to do for a FUSE-based filesystem without patching FUSE itself (fuse-devel thread “Remounting in FUSE support”). There doesn't seem to have been any progress since then.

There are requests for remount support in SSHFS (e.g. Ubuntu bug #1037500) and other FUSE filesystems around the web, none fulfilled that I could find.

Related Question