Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lhridley

macrumors newbie
Original poster
Jul 14, 2010
5
0
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)?
 
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?
 
From my Lion install

Hey

I was looking to do a similar thing, but when I went to the fstab file (as I would in linux) I found this:
Code:
$ cat /etc/fstab.hd 
IGNORE THIS FILE.
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.
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.