Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

Try

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: cl.ly/4Hve –  Brandon Jan 30 '11 at 5:22
    
And this is what happens when I drag it to the trash: cl.ly/4HJE –  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
show 3 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.