How to change a mount point?

Discussion in 'macOS' started by ArthurDaley, Aug 24, 2009.

  1. ArthurDaley macrumors regular

    Joined:
    Feb 29, 2008
    #1
    I have an encrypted sparse bundle. When opened in finder it shows up as

    /Volumes/MBP_General_Encrypted

    However I noticed some programs which store data on this "drive" started screwing up. Via command line though I now see this:

    /Volumes/MBP_General_Encrypted
    /Volumes/MBP_General_Encrypted 1

    It seems that SOMEHOW the mount point has been changed to the latter automatically for some reason by OS X. The former now has no contents. This is throwing off my backup programs etc.

    How do I undo this, i.e. kill off "/Volumes/MBP_General_Encrypted 1" and have all contents back to "/Volumes/MBP_General_Encrypted"

    I just issued this command to move the contents:

    mv "MBP_General_Encrypted 1"/* "MBP_General_Encrypted"/

    Problem is I get lots of fails to due permission problems and I image when I close the encrypted drive ("eject" it) and reopen it could be back to the new but false mount point (with the number appended)

    Ideas?
     
  2. ArthurDaley thread starter macrumors regular

    Joined:
    Feb 29, 2008
    #2
    bump, anyone?

    seems Mac Server has same http://support.apple.com/kb/TS2474 problem:

    If Mac OS X or Mac OS X Server is restarted unexpectedly, the current mount point listed in /Volumes may not be deleted and a new ("false") mount point with a " 1" appended to the name may appear (such as "My Volume 1"). This can cause issues for applications that rely on the path to certain files located in secondary volumes.

    Problem is the solution given is for server only.
     

Share This Page