Download SafeSleeper 3
I wrote this simple AppleScript app a while back. Use it as a work around for USB drives that get force ejected at sleep. SafeSleeper will properly eject all USB drives and put the computer to sleep. It will detect and warn you if a network connection like File Sharing is preventing sleep and when you wake the machine, all your USB drives will remount themselves. SafeSleeper will save you from possibly corrupting data and you'll never see that annoying message again when you wake your system.
Disable Auto Sleep in System Preferences.
Place SafeSleeper in you Applications folder and add it to your Dock for easy access.
Double click to sleep.
123 user(s) are online (in the past 30 minutes)
48 members, 72 guests, 1 anonymous users
zzzzooomm, shreck, cacchio, nikolalek, JasF, vohungcuong1993, ###osxdummy###, breeze_p, Facebook (1), MaZaGnGy, spectra, modykemo, fear_bot, Rabolo, ginoperrino, gledson3d1, Gogeta5026, liwenjing, crisirius, crossray, georgemaia, pewe, afonsocsc, AndyB82, xxxTIMxxx, BladeZ, TRSchmidtty, m.hofmann, ssssasi, cikilbg, wangjy39, byby, robi68ss, Nila, djpd93, Kruw_cawa, ivankk, arca2006, Google (1), mons, rafarodleon, 0l3shka, amih8520, Tvpac, Mr.fly, engtea, nirmalk, Crle Van Niestelroy, roev, siddram