Coder Social home page Coder Social logo

nielsmouthaan / ejectify-macos Goto Github PK

View Code? Open in Web Editor NEW
351.0 351.0 47.0 2.48 MB

Ejectify automatically unmounts external volumes when your Mac starts sleeping, and mounts them again after it wakes up.

Home Page: https://ejectify.app

License: Other

Swift 100.00%
disk macos-app menubar-app unmount unmounting unmounts-usb-drives utility volume volumes

ejectify-macos's People

Contributors

alikarahisar avatar colorpeak avatar federicocagnola avatar jajoho avatar jeanetienne avatar kokutosan avatar mtcardo avatar nielsmouthaan avatar otzbergnet avatar ropc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ejectify-macos's Issues

Still getting 'Disk not ejected properly' on Monterey

I have 2 external SSD connected to a hub.
Running Monterey 12.3.1

I have tried the various 'unmount when' options and some worked better than others, but none worked 100% of the time.
I would appreciate some help in further troubleshooting this, as I would really love to get it to work 100% of the time.
Should I have the Console app running and logging during the problematic sleeping period? I have never used Console before...

Disable and enable external drives based on a schedule

Hi and thanks for that wonderful app (for sure I paid)!

I have one issue that would be a perfect addition to ejectify:

When using an external classic HDD (very large capacity) for backups of other external drives (smaller SSDs), in my case with Vorta, it occurs that the HDD gets powered up and down pretty regularly without being in use at all. I don't know why and what causes it, but it is loud, annoying and unnecessary.

I have setup my Vorta schedule to backup my external SSDs once a day and it usually only takes a couple of minutes.

If ejectify could enable and disable a drive from 12:30 to 1:00 pm for example, or any other scheduled time, that would be absolutely fantastic. It shouldn't be too hard to implement and would not only make the life span of those HDDs longer and prevent unnecessary noise, but it will also safe energy and make the world a better place. :P

Cheers

Notification when disks have been ejected

My usual scenario is I want to take my laptop, and so I choose Unmount All from the menu bar. Sometimes it takes a little while, especially if a Time Machine backup has to stop. Currently I go back to the menu to see if the drives have disappeared. Better would be a subtle sound and/or volume-style visual overlay to let me know it's safe to unplug.

Add support for encrypted volumes

When Ejectify is unmounting all my volumes but not mounting all of them again. May be this is the same issue than this (#25)?

I have an SSD with two different partitions (each of them in APFS). Im using one of them for TimeMachine backups, the other is for other data. Ejectify is unmounting them when my display goes to sleep. This works perfectly. But after wakeup only the TimeMachine partition is mounted again. I tried it through a hub and directly. This made no difference. I've also tried to use the delay function. This also made no difference.
When using disk utility I'm able to see both partitions and can manually mount the missing one.

Don't show Ejectify running in Activity Monitor after reboot??

I might be doing something wrong, but I downloaded ejectify and unzipped it and moved the application to the applications folder and ran it .... I rebooted and when I came back up, was not in application folder anymore or running in Activity Monitor. When I did get it to run before rebooting, where do you find the options and drop-down menu etc ... I opened finder and looked all through the menu bar and didnt see anything like was mentioned. Please help me figure this out? LOL

Thanks,

Davie M.

Remount

Add option to remount disk.

Use case: usb drive connected to screen, not used that frequently, however hence unmount when screen saver starts. Remount on click?

Manually unmount all volumes

Request an enhancement to:

  1. Disable auto-unmounting
    and
  2. Have an option to manually unmount all checked volumes.

This is to simplify moving a laptop from "Desktop" mode with external drives on a hub, to portable use.

Automatically close and then open applications.

Automatically close and then open applications that prevent you from unmount an external hdd. Now, if certain applications work with an external hdd, then nothing happens. You have force unmount but it's unsafe. Can you add an option to let the user choose an application that should be auto-close and auto-open? Thanks!

SSD drive does not mounted

Good day Niels

I have a Satechi hub connected to my MacBook Pro (15-inch, 2018). To it a TimeMachine hard disk (4 TB) Mobile Drive) and an external SSD drive (1 TB/SSD 850 EVO).
Software is macOS Big Sur 11.5.1 (20G80).

Everything works fine. Only the SSD drive is ejected. However, it is no longer recognized when waking up.

Do you know what could be the reason for this?

Thanks for your feedback.
Paul

Settings are unclear (to me)

I don't fully understand the settings:

image

Do the display is turned off when my computer start sleeping? What is the safest option? Why are those options mutually exclusive?

Thanks!

Check Mount Point of Drive

I've been getting this issue when I've ejected my Thunderbolt drive, the mac has gone to sleep, and when I wake it back up it mounts the drive but changes the mount point.

for example, thunderbolt drive was called /Volumes/External_1

when remounted it gets the name /Volumes/External_1 2

Is there a way to check if drives have been ejected properly and unmounted in volumes?

Mute notifications

Add option to mute all "disk not ejected properly" notifications using the command explained here. This isn't always safe, as properly ejecting is still preferred due to the (low) risk of volume and data getting corrupted. Still, for some cases, this might be useful.

Unmount when lid closes

Feature request: extend "Unmount when" options with the ability to unmount when the lid closes.

Automatically (un)mount network shares

Hi there. Although it's really beyond the scope of your app... hear me out! ๐Ÿ˜‰

I love your app because the times I unplug something when my MacBook lid is closed... but it's another app in the menu bar taking recourses... it would also be nice to have a feature to automatically connect to network shares.
I had an app for that but I was cutting down on background apps.

So anyway, ... I just wanted to share this.

Possible issue with Mac OS Big Sur

I recently upgraded to Big Sur and occasionally ejectify is not ejecting my external hard drive when the MacBookPro goes to sleep. At my office the MacBook lives in an upright holder and is attached to a USB-C dock where my TimeMachine drive is plugged in. I put the MacBook to sleep and disconnect the dock each night to take the MacBook home. Normally the next day when I plug things back in, there is no warning. Since the Big Sur upgrade I am occasionally (not every day) seeing the dreaded "DISK NOT EJECTED PROPERLY" notification.

Hide icon in menu bar

It would be nice if the icon would not be shown in the menu bar when no volumes are connected, to clean up a bit.
Maybe this could be accomplished by temporarily changing the icon to a transparent one.

Launch at Login Not working

I installed Ejectify 1.2.1 on my M1 Mac mini today. It's a fresh copy of macOS Ventura 13.4. Despite clicking the "launch at login" option in the menu, Ejectify will not launch on login no matter what I try. Oddly, when I installed it on my MacBook running 13.4, I can't recreate the issue.

On my Mac mini, Ejectify shows up in the "allow in background section" of System Settings. If there's anything I can do to help (i.e. gather logs, etc.), please let me know.

Thank you,
Jacob

Eject Specific Volume at a Specific Time

Hello,

first thx for your Work, i need an option to eject a Volume for example at 9 P.M. !
Is this possible?
Great also when the Drive remounts automaticly for example at a specific time, for example 12 Pm.

Thx, would be Great!!!

Greetz from Berlin

When re-mount add drive to Spotfire ignore list again

It looks when macOS unmounts a drive, that drive is removed from the Spotfire ignore list.

I prefer external drives not be indexed, only the internal SSD.

Is there a way when a drive (mounted) has been added, after a re-mount is again added to the list ?

Custom eject scenarios

I'd like to see the ability to create saveable custom eject scenarios with keyboard shortcuts. I have several external drives connected, and I don't always want to eject them all. I usually have one main disk that I want to keep but eject the rest. The GUI could simply be a list of drives with checkboxes indicating which drives should be ejected, which you can save as a preset, and then have that option in the menu of the menubar, as well as the option to set a keyboard shortcut to that preset.

Option to close/reopen application that is using a given drive that you need to unmount

This is a feature request.

I have one external drive that is used by Nextcloud client when it is plugged in to sync files from it to a remote cloud.

When I want to unmount this drive, I have to manually close Nextcloud client beforehand, and then open it again.

It would be great if Ejectify had an option to when unmounting a given drive, close and open a given application specified by the user that is using the drive.

Thanks

Add keyboard shortcuts

Would be nice to have the opportunity to use short cuts (not the app shortcuts!) e. g. control + option + command + e for ejecting all external devices, then set mac to sleep mode.

Add ejectify to Homebrew

Hi, thanks for making such a great little app! If it's possible, could you add this as a cask to the Homebrew project? If not, I can try doing it (I've contributed casks in the past), but I'm a bit tied up at the moment, so I won't be able to do it for a while.

Thanks in advance!

Cannot detect sparse disk image boundle and unmount

I have a sparse disk image boundle to store highly sensitive data and I bought the Ejectify hoping to unmount the image boundle when the screen is locked. However, Ejectify cannot detect the image boundle when it is mounted. Any clue for that?

link is dead, where to download Ejectify?

You can access earlier made purchases via Gumroad. Refer to this article for more information. Hence, there is no need to purchase Ejectify again.

The link to the article is dead, so I'm unable to download Ejectify :-(

Regards,
Mark

Eject disk when power source switch from AC to battery

Hi,

I'm using a Mac mini with an APC backup UPS at home.

I'm a bit worried about that when I'm not at home and there's a power outage, after the UPS battery drained out, or due to Energy Saver schedule, Mac just shuts down hard without safely ejecting all my external drive.

I hope ejectify can listen to some sort of 'power source switching to UPS' system event and safely eject all my external drives.

Hope I expressed myself clearly.

Use Ejectify with SD-Cards in the internal card reader

Iโ€™m having the target problem with my SD card that permanently sits in my Mac card reader slot. However, after installing Ejectify, I only see "No Volumes", so it seems that it only works for drives connected via USB? If so, it would be a helpful addition (at least for me), if Ejectify also worked for SD cards in the card slot.

Add support for NTFS (via Tuxera) volumes

Hi,
App doesn't list Tuxera NTFS Volumes in its pupup menu and doesn't perform mount/unmount.

Is this behaviour happening especially on my side or is it typical case?

Environment details:
Monterey 12.6
macFuse 4.2.5 + NTFS by Tuxera 2021.1

Time Machine volume not automatically remounting

I have an external drive connecting via a dock to my M1 MacBook Pro 14. The external drive has two volumes (data volume and Time Machine volume). I have my Ejectify set to unmount when my screen is locked. Now, when I lock my screen manually using the keyboard shortcut and then later login again both volumes get remounted. However, if I just leave my desk and the screen locks automatically after a certain time the data volume gets remounted but not the Time Machine volume. I have to manually disconnect the dock and reconnect again.

Request + offer: localisation files for translating

It would be nice if you had separate language files for localisation/translation. I would offer to translate to Dutch, but when I look at your name I think you are Dutch yourself ๐Ÿ˜‰
However: I'd like to help out if I can.

Automatically unmount volume when Time Machine is done making a backup

Time Machine disk is often a hard drive and when not backing up, it tends to make Finder lag when opening a new window if the disk was asleep. A useful option to solve this issue would be to auto-unmount the Time Machine disk while not used by the backupd task. And auto-mount it when needed (every hour, maybe this could be customisable in the utility).

Compatibility with Ventura

Ejectify does not seem to function correctly with Ventura Public Beta 3.

Configuration: Mac Studio M1 Max with a display that has a USB hub that power downs whenever display powers down. Regardless of the settings the Ejectify fails to unmount the external drives connected to the display's USB hub before the display powers down. Sometimes after wake up there is dozens of notifications, that seem to imply that there has been a burst of mounts and dirty unmounts. Manual unmounting from Ejectify menu bar (Unmount all) works perfectly.

Ejectify worked in this system before upgrade to Ventura Beta which seems to imply that something has changed with Ventura or current beta is buggy.

Not an issue, a query re password protected drives

Downloaded Ejectify as it looks real promising, but before I started using it, I remembered that some of the HDDs I connect to my iMac are password-protected.

I was just looking for reassurance that un-mounting and re-mounting them via Ejectify wouldn't create any problems. (In the past a password-protected HDD that failed to unmount properly got corrupted, so I'm extra careful now!)

Any experience / reassurance you can share?

Thanks.

Downloaded. Doesn't open

I'd like to start using this, but it doesn't open. I moved it into the Applications folder.

What else do I need to do?

Remount after delay

Add the ability to set an artificial delay before disks are remounted. This is an experiment to see if remounting works in case underlying hardware (e.g. RAID controller) isn't available yet when Ejectify tries to remount. This will only work if the disk reference is still available.

Conflict with NTFS Tool on macOS: disks cannot be identified after using NTFS Tool

Great app!
But I think there's a little bug is that when I mount my NTFS format hard disk then use the NTFS tool(to make my NTFS disk can be read and written on macOS).
Then, the Ejectify can not identify the NTFS disk, naturally, I cannot eject the NTFS disk with Ejectify.
BUT, when I turn off the NTFS tool, the Ejectify work as expected.

maybe there're bugs on how Ejectify identify / filter disks.

Mount only after the display turns on

Hello Niels,

I'm still experiencing issues with the "disk not ejected properly" notifications. I would like to provide specific details about the components I'm using and can provide more information if necessary. Here are the details:

  • I have a Mac mini M2. (Ventura 13.4)
  • I'm using an HP Z27n monitor, which has a built-in USB 3.0 hub powered by the Mac mini. It is connected to the Mac mini using a USB 3.0 Type B cable to USB Type A.
  • I have an ORICO 20Gbps USB C to M.2 NVMe SSD Enclosure Adapter. The cable provided with the enclosure has a USB C to USB A adapter, which is connected to the USB hub on the monitor.
  • The SSD I'm using with the ORICO enclosure is an Intel 670p 1TB.

I have already tried using the "Unmount when display turned off" and "Unmount when system starts sleeping" options, but I'm still receiving the notifications. I came across a post on MacRumors suggesting that the Mac mini might be waking up periodically due to the "Wake for Network Access" setting in Energy Saver preferences. This causes the monitor's USB hub to receive power, resulting in the reconnection of the external drive (Intel 670p). Shortly afterward, the Mac goes back to sleep, and the cycle repeats, triggering the numerous notifications.

Based on my limited knowledge, do you think it would be possible to have an option that only mounts the drive when the screen is awake? The idea behind this is that when the system wakes up due to network access, Ejectify could automatically mount the drive but not automatically unmount it when the system goes back to sleep.

Thank you for your assistance and any insights you can provide.

*added text (Ventura 13.4)

Unmount volumes after login

I have 13 volumes on my system, different logons use different volumes. Would it be possible to have Ejectify unmount volumes upon login to limit the volumes available without specifically taking a "mount" action unwanted volumes? Or to go further on this idea, create custom volume sets for each user?

In my use case:

  • The video editor would only have 3 volumes mounted after Ejectify launches, of the 13 volumes available.
  • The personal user would have only 2 volumes mounted after Ejectify launches.
  • The admin would have all volumes available.

Background: I misread the feature set and thought I could select which volumes would mount at login. Looking at the level of interaction with MacOS it seems this might not be desirable; however, something almost as good would be the ability to unmount specific volume when logging in.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.