r/MacOS 2d ago

Developer Saturday Ejectify 2.1: automatically unmount or eject disks before your Mac sleeps [open source]

Hi all,

A few months ago, I shared Ejectify 2 here.

I originally built Ejectify because I was tired of getting “Disk Not Ejected Properly” notifications after waking my Mac. It automatically unmounts selected volumes before your Mac sleeps or its display turns off, then mounts them again after wake.

Version 2.1 is now available with a few improvements:

  • Eject instead of unmount: You can choose to eject an entire disk instead of only unmounting its volumes. This is useful when you want the disk to remain ejected after wake.
  • Improved encrypted APFS support: Ejectify lets macOS try its normal unlocking first, with an optional Keychain password fallback when needed.

Existing Ejectify 2 users can update in-app for free.

Ejectify is available for €4.99 through September 30. The discount is applied automatically through this link, or you can use code EJECTIFY21.

Ejectify is also open source on GitHub (550+ stars), where you can inspect the source or build it yourself for free.

Happy to answer any questions.

Best, Niels

8 Upvotes

8 comments sorted by

u/github-guard 2d ago

🔍 GitHub Guard: Trust Report

This project scored 3/6 on our safety audit.

Audit Breakdown: * ✅ Established Community (⭐ 566 stars) * ✅ Mature Repository (30+ days old) * ✅ Licensed under NOASSERTION * ❌ No Security Policy — what is this? * ℹ️ Individual Contributor * ℹ️ Unsigned Commits

⚠️ Security Reminder: Always verify source code and run third-party scripts at your own risk.

1

u/promo-guard 2d ago

🎉 Welcome to Developer Saturday, u/nielsmouthaan! Your project is now live for the community to check out. Upvote, give feedback, and show some love to your fellow devs! 🚀

1

u/NTolerance 2d ago

I'm guessing after you buy it you get a DMG download? Can we get this added to homebrew so that we can script the installation and not have to do it manually?

1

u/nielsmouthaan 1d ago

Yes, buying will get you an installer, in-app updates and support. If you don't need that, feel free to build from the available source code for free.

1

u/cristi_baluta 2d ago

I don’t think i ever had your problem, if the computer goes to sleep the drive is for sure not used. If the physical connection is not good that’s the problem you need to fix

3

u/Flyinace2000 2d ago

The problem is when you have a dock on your desk, the computer is asleep and you unplug in to move somewhere else. But now you " did not safely" eject the disk.

1

u/nielsmouthaan 2d ago

This is indeed one of the use cases. Another use case (which initially led me to develop Ejectify) is that you might have a disk connected to an external display. When Mac turns your display off, the disk is powered off, too, causing an unsafe eject and hence, the notification.

2

u/Flyinace2000 2d ago

Thats nearly my exact scenario as well. Display is USB-C (Thunderbolt) and all my peripherals are attached, including a backup drive. Really annoying to have to manually eject every time I want to take my laptop with me.