This week, I tried to mount a volume from my Linux server. I had ssh access, so I decided to use sshfs to mount it. THe Out-of-box solution was not working, so here is a complete guide.
First of all, you need to configure remote Linux server to support sftp and sshfs:
$ cd /usr/src/linux $ make menuconfig File systems ---> Filesystem in Userspace support --> <M> $ make && make modules_install $ update-modules $ /etc/init.d/fuse start
Installation of MacFUSE on 10.6 in 64-bit mode is a bit curious. MacFUSE-2.0.3.2.dmg from the home site is not working -- the kext module is failing dependencies, so we have to build on our own. Make sure you have XCode installed. If not, get it from Apple's developer site for free. (Alternatively, if you don't want to build it yourself, you can try either my build (2.8MB), or this one (2.6MB) by Tomas Carnecky.)
To build your own, download the MacFUSE source, then do this in Terminal:
$ cd core
$ ./macfuse_buildtool.sh -c Release -p 10.5 -t smalldist
After building, go to /tmp and install MacFUSE .pkg.
Open the MacFUSE System Preferences panel and start MacFUSE, or load it by hand in Terminal: kextload fusefs.kext. Next install a GUI for disk mounting - MacFusion. This too needs to be fixed:
$ cd /Applications/Macfusion.app/Contents/PlugIns/sshfs.mfplugin/Contents/Resources/ $ mv sshnodelay.so sshnodelay.so.oldThat's all, folks! Start Macfusion and mount remote sshfs volumes.
Mac OS X Hints
http://hints.macworld.com/article.php?story=20100415015415366