Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use to have a Linux server that I had shares on, and I had them mounted on my OS X machine, but I no longer have this server and the shares are still there and they will not unmount (and even force unmounting them does nothing). Is there anything I can do in the command line to remove them?

share|improve this question


diskutil unmount /path_to_mount_point

For example, to unmount a USB key on my system, I would do:

diskutil unmount /Volumes/myUSB

You may also need to include sudo before the command.

share|improve this answer
The problem is they are not mounted anywhere. Currently they only place they are shown is on the desktop (ie Not in the list of connected drives in Finder) – Brandon Jan 30 '11 at 5:14
If they're not mounted why would you want to unmount them? Do you mean the folders are still there? Why not just delete them by moving them to the trash? – aqua Jan 30 '11 at 5:18
This is what is on my desktop: – Brandon Jan 30 '11 at 5:22
And this is what happens when I drag it to the trash: – Brandon Jan 30 '11 at 5:22
Hmm, OK. So you did try doing sudo diskutil unmount /Users/<yourUserName>/Desktop/home, and it still did not work, correct? – aqua Jan 30 '11 at 5:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .