How to make MacOS remount your external drive properly

Ever had MacOS not correctly unmount your external drive and then it remounts it and now even though the icon on your desktop says "SomeVolume" the actual location in the /Volumes list is SomeVolume 1 and there's an orphaned "SomeVolume" that doesn't actually work or point to anything? Maddening. Eject your external drive from the desktop, then open a terminal and cd /Volumes , followed by an ls…