Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Mac Mini with a few external drives connected that I use as a home server. Normally the Eject buttons next to the drive icon are really handy as they let me eject an external drive very easily (compared to Windows for instance).

However on a Mac server, this comes as a detriment. I have some pretty mission critical stuff on external drives and there's a lot of scripts etc. I have set up that are dependent on those drives being there. Being able to so easily accidentally eject those drives makes me rather uneasy.

So far I've just chosen to not show them in the Finder sidebar, that way at least they're a bit harder to eject. However that isn't very ideal because: (1) I need to go to my Mac in the sidebar to access the drives rather than have the drives accessible directly and (2) the eject buttons still show in open/save dialogue boxes for those drives.

Ideally, I'd like a way for them to behave the way internal drives do: no option to easily eject from the finder, but still possible to unmount through disk utility.

share|improve this question
Ha ha, you want to reverse this:… – CousinCocaine Aug 22 '14 at 4:53

Place a foot in the door.

  • On each of your disks, create a text file, open it in TextEdit, add some line, and leave the file open unsaved.

I think this trick will prevent ejection.

Test this trick, try to eject the disk and come here tell us the result.

This trick can easily be automated.

share|improve this answer
Some comment(s) have disappeared here. – Nicolas Barbulesco Aug 23 '14 at 21:43
jep. Like mine. This is a need trick, this happens to me a lot when I do want to eject the drive but I can't. Well thought of. – CousinCocaine Aug 24 '14 at 19:45

If your important external drive is mounted on the following mount point:


Then you can protect it against an accidental removal by locking this mount point as opened. For this one very simple method consists in opening Terminal and doing this basic command:

$ cd /Volumes/important_disk

To get rid of this locking, you might type within the same Terminal window:

$ cd /

or you might as well just close this Terminal window ($ exit, or +D, or +W).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.