title: Find all storage devices attached to a Linux machine
body: <p>I have a need to find all of the writable storage devices attached to a given machine, <strong>whether or not</strong> they are mounted.</p>
  
  <p>The dopey way to do this would be to <em>try</em> every entry in <code>/dev</code> that corresponds to a writable devices (<code>hd* and sd*</code>)......</p>
  
  <p>Is there a better solution, or should I stick with this one?</p>