title: boto detach_volume and unmounting volumes
body: <p>I am using <a href="http://boto.readthedocs.org" rel="nofollow">boto</a> (in Python) to make a small wrapper library for some EC2 / S3 configurations, and wanted to automate the mounting / unmounting process for EC2 volumes. Normally, the procedure is to: </p>
  
  <ul>
  <li>Attach a volume</li>
  <li>Make a directory on the instance</li>
  <li>Mount the volume to the new directory</li>
  </ul>
  
  <p>Detaching is the same: </p>
  
  <ul>
  <li>Unmount the volume</li>
  <li>Detach the volume</li>
  </ul>
  
  <p>Boto provides two methods: <code>attach_volume</code> and <code>detach_volume</code>. I am assuming that <code>attach_volume</code> does not automatically mount my filesystem to a directory of my choice, just based on the fact that I can't specify a directory name to mount the device to. But for the <a href="http://boto.readthedocs.org/en/latest/ref/ec2.html#boto.ec2.connection.EC2Connection.detach_volume" rel="nofollow"><code>detach_volume</code></a>, the documentation is ambiguous - if I specify the device through which the volume is exposed, does boto take care of the unmounting for me, therefore safety detaching the device?</p>