Like many end-users trying to use MacFUSE to access remote
filesystems, I had some trouble getting everything to work.  Hopefully
my tips will get other end-users past the difficult bits.

Installing MacFUSE itself is fairly easy.  Download from
http://code.google.com/p/macfuse/downloads/list.

The only file available for me was MacFuse-2.0.3.2.dmg.  I am sure the
version number will change, but I expect there will be a MacFUSE-
x.x.x.dmg file there.  Download it.  Open it.  This should mount a
disk image.  The image contains an installer package, a changelog
file, and a license file.  A readme would be nice.  Anyway, install
the installer package.  Reboot.

After reboot, you should have a new control panel in System
Preferences.  The control panel allows you to upgrade or uninstall
MacFUSE.

Now you need a file system, and this is where I ran into trouble.  All
I wanted was the sshfs file system for MacFUSE.  That seems to come
from here, but there is not a lot of documentation.  Nor is there a
man page or a nice installer.  There is a compiled binary shell
command that allows you to mount remote unix file systems from the
Terminal.  So here is what you do.

Go to
http://code.google.com/p/macfuse/wiki/MACFUSE_FS_SSHFS

to download the appropriate binary.  For me that was sshfs-static-
leopard.gz.  This is a zipped executable.  Unzip it.  I used Stuffit
Expander to unzip it, but you can use that or tar -xzf in the
terminal.  The command is
$ tar -xzf sshfs-static-leopard.gz

Rename it to something reasonable and easy to type, and give it
execute privilege:
$ mv sshfs-static-leopard sshfs
$ chmod +x sshfs

Now you have to install it.  It would not run for me until installed.
Install it into a directory in your path.  Install it in the terminal
with the command:
$ sudo install sshfs /usr/local/bin

I put it in /usr/local/bin because that is in my path, and it is a
good place to put third party (non-apple) programs.  You can figure
out what your path is with the command
$ $PATH

Once you get sshfs to run, it has a nice help page.  Type
$ sshfs --help

I mainly wanted convenient access to unix filesystems that I could ssh
into, but could not mount directly in the Finder.  To mount the remote
filesystem, type
$ mkdir /Volumes/myserver-home
$ sshfs myserver.mycompany.com: /Volumes/myserver-home -o idmap=user -
o follow-symlinks

Or, if you need access to the entire remote filesystem
$ mkdir /Volumes/myserver-root
$ sshfs myserver.mycompany.com:/ /Volumes/myserver-root -o idmap=user -
o follow-symlinks

Note, you can pick other mount points if you like; they do not need to
be called myserver-home or myserver-root.  Also you can create a
directory anywhere and mount a remote filesystem.  If you do not want
you mount your remote filesystem in /Volumes, you could put them in
your home directory:
$ mkdir ~/remote
$ sshfs myserver.mycompany.com:/my-remote-directory ~/remote -o
idmap=user -o follow-symlinks

Anyway, I hope this helps other users out there.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to