Ejectify automatically unmounts external volumes when your Mac starts sleeping, and mounts them again after it wakes up. It becomes handy when you have connected a USB drive to an external display that gets powered off when your Mac starts sleeping, causing the drive to be ejected forcefully.
⭐ Prevents annoying Disk not ejected properly notifications when your Mac wakes up.
⭐ Prevents connected external disks and their volumes to get corrupted.
⭐ Configure what volumes should be (un)mounted automatically, optionally forcefully.
⭐ Available in English, Dutch, German, French, Spanish, Russian, Japanese, Portuguese, Hindi and Arabic.
⭐ Configure when volumes should be unmounted:
- When the screensaver starts.
- When the screen is locked.
- When the screens started sleeping.
- When the system starts sleeping.
⭐ Automatically mounts volumes again when your Mac or screens wake up, optionally after a delay.
⭐ Unmount all volumes instantly with the click of a button.
Download Ejectify by supporting me via Gumroad, something I would really appreciate! This helps covering development costs. Otherwise feel free to clone this repository and build a runnable application yourself.
🐛 If you found a bug, open an issue.
💡 If you have a feature request, open an issue.
🧑💻 If you want to contribute, submit a pull request.
Make sure Ejectify runs from your Applications folder. It will only start from there. Also, note that the app lives in your system's status bar. There's no other user interface that pops up when you start it.
Ejectify works by (trying to) unmount volumes (on external disks) before your screensaver starts, screen locks, display(s) turns off, or the system starts sleeping. Sometimes this doesn't result in the desired behavior. In this case, try the following:
-
Ensure the correct volumes are checked in Ejectify's status bar menu. Ejectify will only attempt to unmount those.
-
Toggle between the various
Unmount when
options. Depending on your (hardware) configuration, some options work better than others. -
In case you've connected the disk via a USB hub, temporarily attach it directly to your Mac and test if that makes a difference.
-
Temporary check
Force unmount
to see if that makes a difference. This (unsafe) option (almost) immediately eject disks, even when apps or macOS are still using it, which could result in data loss. When this resolves the issue, it's likely that an app or macOS is causing the issue. See this page to find out which app. -
Use the Console app to see if any warnings or errors are popping up that might indicate why Ejectify isn't able to (un)mount the disk. Specifically look for a message starting with
Dissenter status
, which includes the result of the (un)mount process.
Ejectify is available under the MIT license and uses source code from open source projects. See the LICENSE file for more info.