Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to prevent selected disks to not be mounted on connect #77

Open
tunttunen opened this issue Aug 5, 2024 · 5 comments
Open

Support to prevent selected disks to not be mounted on connect #77

tunttunen opened this issue Aug 5, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@tunttunen
Copy link

Hi there,

Would be awesome to be able to define that certain external drives would not be mounted to system, when the drives are connected. The use case is this: when I connect my laptop to my CalDigit dock that has my backup external drive connected to it, becomes connected thus mounted to my system. When I unplug my laptop and go to meeting, the drive gets disconnected unsafely and might corrupt. So, when I really need the drive I would like to mount it via macOS, backup etc. and then unmount it after the backup is completed.

So would be great to have an option to prevent certain drives from mounting automatically on connect.

@nielsmouthaan
Copy link
Owner

You can uncheck a volume from the menu, which will make Ejectify ignore it.

@tunttunen
Copy link
Author

By saying "ignore it" means that Ejectify will literally prevent it from mounting instead of just ignoring it (not doing anything concerning mounting to ignored mountable)?

@nielsmouthaan
Copy link
Owner

It will simply not unmount the volume when the specified trigger happens and won't (automatically) remount as a result.

@tunttunen
Copy link
Author

The "ignore it" function does not do what this ticket was about.

When a drive X is ignored in Ejectify settings and I reconnect my dock to the laptop that has the drive X connected, the drive becomes mounted on connection. The request was about the preventing it from mounting every time the drive is being connected. The request is about an option to make a drive to be mounted manually (via the Ejectify app menu) when it is needed. This would ensure that when I connect and disconnect my laptop to/from the dock to e.g. leave to a meeting at the office, the drive will not get suddenly disconnected from the laptop without safe unmount process.

@nielsmouthaan
Copy link
Owner

Aha, I understand. I'm not sure if it's possible to avoid Mac from mounting a volume automatically. If it is, it is likely very low level. I'll mark this an enhancement ticket.

@nielsmouthaan nielsmouthaan added the enhancement New feature or request label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants