Saturday, January 20, 2007

MacFUSE

[Update August 26 2007: Over the past few months there is been a cute .dmg file on macfuse link at the 'google's'. Just use it.]

Rejoice, for a Mac can go anywhere !

Macintosh computer users in UWO can access the panther.uwo.ca to mount their folder and edit webpage/html files on public_html using MacFuse (1), the newly released verison of FUSE that was letting the Linux user the same privilages. With respect to panther.uwo.ca, here is how I did it.

Start with a mac that has 10.4 or higher (sic.) installed.

Naaah... do not geekzap yourself with tar files unless you are one of those who live by the terminal. Just download (Ref. 3) the .dmg file. Mount it and run it.

Open the terminal.app and type in sshfs. If the machine complains that no host has been specified your installation was sucessful. Else, request to see if there is a .bashrc file in your ~ folder. No? Create one. And have this statement placed in it.

export PATH=$PATH:/usr/local/bin/

Now restart the terminal and type the command sshfs. Missing host? Great.

Now to mount my uwo folder, I used, this command.

sshfs -oping_diskarb,volname=Panther arajamoh@panther.uwo.ca: ~/pantheros
Wait for fusefx.kext to load successfully. You can have any folder created with the name of your choice created in the ~/ and replace the pantheros in the command. The remote folder will be mounted in this folder. Also have your volname=. This the name that will be shown in the Finder.

To unmount it use the following command in teh terminal,

umount ~/pantheros

Mind the name I use and you can use.

Now we can mount almost any type of remote folders on a mac and work on it as a local folder.

Reference:

Well we all Google, don't we? Still...

1) http://googlemac.blogspot.com/2007/01/taming-mac-os-x-file-systems.html
2) http://code.google.com/p/macfuse/
3) http://google-code-updates.blogspot.com/2007/01/macfuse-fuse-for-mac-os-x.html

PS: Must say that when I first saw kernalthread.com about 3 years back I knew this guy is a genius. Why else would he use a Macintosh?