title: Handle removable media USB/CD-ROM mount/umount events on Linux and Mac
body: <p>I need to implement cross platform handler for the removable media mount/umount events. It was not hard to implement it on <code>Windows</code>, now I need to rinse and repeat on <code>Mac</code> on <code>Linux</code>. I suppose that these platforms handle the removable media in different manners. Which APIs should I look into?</p>
  
  <p>On another note, about the APIs. MSDN is a pretty good resource for all Windows APIs for all the frameworks, thumbs up Microsoft. Are there similar resources for Mac and Linux development, where all the docs for all the APIs are consolidated and easy to search/navigate through?</p>
  
  <p>Edit: For the Mac side of things there is DiskArbitration framework that seems to do the work.</p>