shfs

Installing shfs

# apt-get install shfs-utils

Running shfs

Here's an example of mounting the directory /path/to/remote/directory/to/mount on the host www.example.com to the local directory /path/to/local/mountpoint.

shfsmount -o uid=myuser,gid=mygroup username@www.example.com:/path/to/remote/directory/to/mount /path/to/local/mountpoint

shfsmount: shfs filesystem not supported by the kernel

To resolve this issue, run the following commands.

Install the shfs-source package and all its dependencies.

# apt-get install shfs-source

Install gcc if you don't have it already

# apt-get install gcc

Install the linux-headers package that matches your kernel version.

apt-get install linux-headers-$(uname -r)

The shfs-source package should have forced installation of module-assistant, so now:

# module-assistant build shfs
# module-assistant install shfs

You may want to restart your system, but this worked without restarting for me.

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.