daifuku74

Q: Unexpected disconnection external disk and different mount points

Dear community,

I have an application that needs to read and write data from an external disk called "external"

If the volume is accidentally unmounted by unproperly pluggin it off), it will remount as "external_1" in the terminal,

and my app won't see it as the original valid destination.

 

According to this documentation:

https://support.apple.com/en-us/HT203258

it needs a reboot to be solved, optionally removing the wrong unused mount points before rebooting.


Would there be a way to force OSX remounting the volume on the original mount point automatically?

or checking the disk UUID and bypassing the different mount point name (app or os level?)


Thanks for any clue on that.

Posted on Mar 20, 2015 4:46 AM