This question already has an answer here:

I have a Micro-SD card which I keep permanently inserted in my MacBook Pro using a nifty Mini-drive. I doubt it should matter, but this is a 13" early 2011 MacBookPro, running High Sierra (hardware doesn't support upgrading to Mojave, and app store actively prevents it).

Since I use this as my long-term "tepid" storage (not disconnected "cold" storage, but not using space on my more actively used SSDs), I would prefer that it be mounted in a manner where it cannot be ejected from the OS, either through Finder, or Alfred or any other means.

Is there a way of flagging the device, through Disk Utility, fstab or some other manner, to do so? Essentially, for it to behave like a permanent/fixed disk, as opposed to it being removable?

marked as duplicate by user3439894, nohillside Dec 25 '18 at 19:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Go to dosdude1.com/mojave for a way to run Mojave if you're interested – Sam Dec 25 '18 at 18:02
  • It will patch the OS to run on your hardware, just check that your hardware is compatible with the patch – Sam Dec 25 '18 at 18:03
  • Good question! +1 I'd like to know if there is a flag or such that could be set, as I too find the need at times to keep a drive from being ejected. What I typically do is open a Terminal window that has been cded_ to the root of the external disk, which then typically will not be ejected until that Terminal window is closed. Not an ideal solution but at least a workaround. – user3439894 Dec 25 '18 at 18:12
  • maybe not quite what you wanted but worth reading about Mountain.app blog.appgineers.de/post/101608761084/… and here macupdate.com/app/mac/43428/mountain – Ruskes Dec 25 '18 at 18:40