title: Upstart calling script (for inserted USB-drive)
body: <p>I know that Ubuntu (and Fedora) uses <a href="http://upstart.ubuntu.com/" rel="noreferrer">Upstart</a> istead of the classical System V init daemon (SysVinit).</p>
  
  <p>I would like to know how to detect when a USB-drive has been inserted, mount it and copy some files to it. I would like Upstart to call my own script for this.</p>
  
  <p>If it is possible I would like Upstart to call the script for a <em>specific</em> USB-drive, so that I would get normal functionality for every USB-drive except my "instant backup" USB-drive.</p>
  
  <p>If Upstart could send the USB-drive identification string as an argument to my script I guess that would be the ideal solution, as I would be able to have the id string in my script and possibly could make the script handle two USB-drives without much change.</p>
  
  <p>And as a side-note, do you know any other system except Upstart which handles USB-drives, network mounted file systems and such in a nice way? (As <a href="http://www.linux.com/feature/125977" rel="noreferrer">SysVinit seems not to</a>.)</p>