Setting the mount point for 2nd HDD

Discussion in 'Mac OS X Lion (10.7)' started by lhridley, Aug 28, 2011.

  1. lhridley macrumors newbie

    Jul 14, 2010
    Hi all,

    I have a Macbook Pro 15" that I have modified as follows:

    1. Replaced the original HDD with a 128GB SSD
    2. Replaced the optical drive with a 500GB HDD

    The mount point for the 500GB HDD is currently "/Volumes/Mac500GB". I'd like to change that to "/opt". How do I go about doing that in Lion (OS X 10.7)?
  2. lhridley thread starter macrumors newbie

    Jul 14, 2010
    Solution thus far....

    OK, so this is what I've done so far, and it seems to be working, but I'm looking for some verification that this is the correct way to do this:

    1. Set up a directory on the primary HDD (the SSD) of "/opt"
    2. Created a file named "/etc/fstab" with the following information in it:

    UUID=<UUID of the drive partition> /opt hfs rw 1 2

    The HDD now mounts as "/opt".

    Is this the correct way to go about this?
  3. slinkman macrumors newbie

    Apr 25, 2012
    From my Lion install


    I was looking to do a similar thing, but when I went to the fstab file (as I would in linux) I found this:
    $ cat /etc/fstab.hd 
    This file does nothing, contains no useful data, and might go away in
    future releases.  Do not depend on this file or its contents.
    I couldn't find any alternative, so I just resigned myself living without proper mounting capabilities.
  4. Taz Mangus macrumors 68040

    Taz Mangus

    Mar 10, 2011
    You could create a symbolic link such with "ln -s /Volumes/Mac500GB /opt". This is similar to what you want to do but not exactly the same.

Share This Page