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?