|
|
How to prevent drives from mounting at boot.
I know it's been a while since you posted your question, but I stumbled across it, and may have an answer for you.
On my system, I've usually got around 6 partitions, all set up with the various configurations that I need to maintain at work (I admin several labs, ~15 classrooms and a ton of faculty computers at a university). And with that many partitions hanging around, and my Home directory on its own drive (and visible on the desktop), I needed to find a way to minimize the clutter.
Enter fstab.
Apple keeps threatening to pull support from it completely, but from what I can tell, it's worked since the first version of OS X came out, and still works fine for me under 10.4.
To set up fstab, all you need to know is the UUID of your drive, which can be found in your System.log - look for diskarbitrationd entries near the beginning of the boot process. Here's a quick look at the relevant parts of my System.log:
The UUID is the 32-char long string in each entry. I've seen other hints that detail how to go about creating a UUID for your volumes, but it's not necessary.
One quick caveat: fstab doesn't fully work as advertised in the fstab man page - you can't (or at least I couldn't) specify an arbitrary mount point for your file systems. That sounded like a KILLER feature - I'm thinking, I've got my Home folder on its own drive, but if I could use fstab to map that drive's mount point to , that would be pretty cool. No more messing with netinfo. Too bad it didn't work.
to keep this from getting much longer, I'll just include a copy of my fstab file, which I generated myself according to the instructions laid out in the fstab man page.
Oh- one last thing. The fstab file, if your system has one already, will be in /etc. If there isn't an fstab file there, just go ahead and create one (ie, 'sudo pico' and write one directly, create a plain text UTF-8 file and option-drag it into ....)
Enough already! Here's the file!
In order to keep things straight for future changes, I commented in the volume names for all of my partitions. Also, you can mount the volumes using diskutil or Disk Utility.
Hope that helps!--- |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.10 seconds |
|