I’ve got an OWC Thunderbay mini attached via TB to a current gen iMac running Catalina…and it periodically dismounts itself. I’m trying to figure out how to keep it mounted and after some investigation figured out that a simple script to see if it is mounted and then mount it if not triggered periodically by Lingon should do the trick. The drive is the data drive on a file server so obviously it getting dismounted doesn’t work.
After spending 30 minutes googling and trying to modify various applescripts I found as well as opening the Disk Utility dictionary…I have concluded that I don’t know enough applescripting to write it although I suspect it’s pretty easy…some combination of system events and examining the contents of /Volumes and then proceeding.
If anybody can easily do this…please drop me a note off list or if it’s short and sweet just post here…part of the problem may be that many of the ones google found are old and the language has changed over the years. Much appreciate any assist.