I'm using usbmount to mount / unmount USB drives when they are inserted / removed on my Raspbian machine. A C++ app reading MP3 files from the drive and playing them now needs to get a hint every time such a drive has been mounted (typically at /media/usb0) resp. unmounted.
Does anybody have a hint for me? Thank you.