How do I automatically unmount my hard drive when I put my Mac to sleep?

3

1

I have a misbehaving hard drive that turns itself off when it detects my Mac is asleep. This is bad since OS X doesn't unmount the drive, so I get a nasty error message when the machine wakes up. Is there a way to automatically unmount the drive when the machine goes to sleep?

Jay Conrod

Posted 2009-07-15T15:26:28.667

Reputation: 4 382

I wonder if this is related to the problem I have here: http://superuser.com/questions/7996/os-x-keeps-losing-my-linux-samba-shares Will give the answer below a try and report back.

– Darren Greaves – 2009-07-18T18:06:00.853

Answers

3

SleepWatcher by Bernhard Baehr seems to be what you are looking for.

Full instructions on how to set it up are available on MacOSXHints.com

Pierre-Luc Simard

Posted 2009-07-15T15:26:28.667

Reputation: 771