ViFM How to: Using ssh fs mount on MacOS X(and avoiding FUSE MOUNT ERROR)

(c)GoogleCustomSearch

  1. Install sshfs from MacPort(Prepare it if you haven't install yet)

    sudo port install sshfs

  2. Put line below to vifmrc

:filetype *.ssh FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR
  1. Create a text file like this(First line contains username and servername and path to be mounted. )

    echo username@some.server:/home/username > someserver.ssh

  2. Open vifm and push enter on someserver.ssh

if you see FUSE MOUNT ERROR at this point, You can avoid it by patching vifm source code.

How to patch vifm to avoid sshfs FUSE mounting error

Uninstall vifm if you are using MacPort version.

sudo port uninstall vifm
  1. Download source code from official page

  2. Untar and cd to root of code.

  1. Download vifm-for-mac.patch. and put it to same folder.

  2. Patch it

    patch -p1 <vifm-for-mac.patch

  3. Re-build and install it

    ./configure ./make ./make install

Warning

This patch is workaround. It skips status checking of sshfs command. It may causes critical damage to your system. Don't use it and wait for official support if you are not understanding the means of the patch code.

Popular Articles from This Page

kanasys.com > Economizing Technology > ViFM How to: Using ssh fs mount on MacOS X(and avoiding FUSE MOUNT ERROR)