Mike,

I am doing the same thing locally with some Ruby scripts on my MacBook
Pro system.

When you mount a volume using the GUI, they use /Volumes/<name> that
you specify in the settings for that volume. It is possible to drive
this from the command line, and when you do you can specify any mount
point that you like. In my scripts I both create the mount point and
then mount the volume. For example:

mkdir ~/my-local-mount-point
sshfs -p 9876 [EMAIL PROTECTED]:/home/user ~/my-local-mount-point

In the example...
-- "sshfs" is a symbolic link to "/Applications/Macfusion.app/Contents/
PlugIns/sshfs.mfplugin/Contents/Resources/sshfs-static"
-- 9876 is the port to connect to. you only need to specify this is
you use a non-standard SSH port (something other than port 22)
-- "user" is the login username
-- "example.com" is the host where the volume resides (you could use
an IP instead)
-- "/home/user" is the remote mount point path
-- "~/my-local-mount-point" is a folder on your local system that
already exists. (This folder will be changed from a local folder to a
remote volume upon mounting the remote volume. One strange thing is
that when you view the "~/my-local-mount-point" folder in Finder once
you have mounted the remote volume, Finder shows it as an Alias rather
than a folder.)

Upon unmounting the remote volume, the Alias becomes a folder again,
but remains and is not removed. In my scripts, I unmount the remote
volume AND delete the mount point folder. For example:

umount ~/my-local-mount-point
rmdir ~/my-local-mount-point

By the way, when I use the GUI to mount a volume, the mount point that
appears in /Volumes is removed upon unmount.
Hope this helps.

--~--~---------~--~----~------------~-------~--~----~
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