Unmount the directory which is mounted by sshfs in Mac

waitingkuo picture waitingkuo · Dec 27, 2012 · Viewed 196.8k times · Source

I've installed OSXFUSE in my mac and used sshfs to mount a remote directory. Now I would like to unmount it, but can't find the way. My OS is OSX 10.8 Mountain. Can anyone help?

Answer

Timur Mingulov picture Timur Mingulov · May 21, 2013

Try this:

umount -f <absolute pathname to the mount point>

Example:

umount -f /Users/plummie/Documents/stanford 

If that doesn't work, try the same command as root:

sudo umount -f ...