Phantom mount points

Discussion in 'Mac OS X Lion (10.7)' started by ccnp11, Jun 12, 2012.

  1. ccnp11 macrumors newbie

    Joined:
    Nov 26, 2011
    #1
    I have two references to now offline AFP shares on a NAS VM. I can not remove them. I've searched the forums and google and everything I've tried has failed. They are actually causing some issues with Finder and I would very much like to get rid of these annoying things. Here's a transcript of some of the things I've tried-

    Code:
    :
    root# cd /Volumes/ 
    root# ls -al
    drwxrwxrwt@  9 root      admin      306 Jun 12 00:31 .
    drwxr-xr-x  32 root      wheel     1156 Jun 12 00:31 ..
    lrwxr-xr-x   1 root      admin        1 Jun 11 23:02 Macintosh HD -> /
    dr-xr-xr-x   2 root      wheel        1 Jun 11 23:02 backup
    dr-xr-xr-x   2 root      wheel        1 Jun 11 23:02 docs 
    root# rm -rf docs
    rm: docs: Operation timed out 
    root# chmod -R 777 docs
    chmod: Unable to change file mode on docs: Operation timed out
    root# chflags nouchg docs
    root#chmod -f +w docs
    chmod: Unable to change file mode on docs: Operation timed out 
    root# rmdir docs
    rmdir: docs: Resource busy
    
    I'm at a loss. When I run
    #lsof /Volumes
    the only process accessing it is Finder....how can I get Finder to release its hold on this mount point? I've even tried to run
    root#killall Finder && [rmdir/rm/mv]
    to try and sneak a command in there before Finder restarts but no luck.


    Any ideas?
     
  2. Mr. Retrofire macrumors 601

    Mr. Retrofire

    Joined:
    Mar 2, 2010
    Location:
    www.emiliana.cl/en
    #2
    Type this in a Terminal window:
    This should open a Finder window. Select the unwanted volumes, and drag them in the trash. Logout/login and they should disappear. You can now empty the trash. I tested this with disk images, because i had similar problem.
     
  3. ccnp11 thread starter macrumors newbie

    Joined:
    Nov 26, 2011
    #3
    That did open /Volumes and I saw all my local images and attached NAS shares ....except for the two that are causing trouble. I see them in CLI and i list the directory content but not in Finder. And I have set Finder to show all files including hidden ones. Ugh.

    On a side note- I called Apple and they were as clueless as I. In fact the guy on the phone (supposedly "advanced" support) commented that they really don't know "all that complex command line stuff." Really? You're advanced tech support for an OS built on Unix and you "don't do" CLI? LOL
     

Share This Page