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

Avlor

macrumors newbie
Original poster
Aug 27, 2010
20
0
Hello,

I've recently installed a second hard drive in place of my SuperDrive and now use SSD as my OS drive and a regular hard drive for data. However, when running on battery I want everything I can squeeze out of my mac so I tend to dismount the drive when on battery power. Dismounting is easy, just right click and eject, but mounting it back requires going into Disk Utility. Is there a way I can place a shortcut to mounting the disk/write some script so I don't have to go all the way to Disk Utility? Even better, maybe there is a way to code a script that would automatically mount the disk when I switch from battery to AC?

Any suggestions much appreciated!
 
Try making an alias to the disk, then you can place that in your Dock or another convenient place. Disclaimer: I don't know 100% for certain this will work, but I believe it will.

jW
 
Nope, didn't work.. I get an error message saying the original item cannot be found. I think there should be some way to address the mount point, but i have no idea how to do it
 
Try making an alias to the disk, then you can place that in your Dock or another convenient place. Disclaimer: I don't know 100% for certain this will work, but I believe it will.

jW

Doesn't look like it works:
ScreenCap 6.PNG
 
You could create a short shell script using the mount_hfs command, but it might be a bit of a pain to use.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.