3

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.

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.