title: Python to obtain hard drive information
body: <p>Can someone shed some light on what commands i can use to obtain the following from hard drives. It would be best if there was an internal Python module for this, but probably not. I do have root access to obtain any information, but i would like to stay away from having to download extra packages, so:</p>
  
  <p><code>procinfo</code>, <code>swapon</code>, <code>hdparm</code>, <code>hardinfo</code> are out of the picture, not default on Fedora 17, not sure about other distros.</p>
  
  <pre><code>Index (Device 0, could be more)
  Description (Full Name, Western Digital Black Edition.....)
  InterfaceType (IDE, SCSI)
  Manufacturer (Western Digital, Seagate, Maxtor)
  Model (WDxxx)
  Size (in KB, MB or GB)
  Partitions (if Any)
  </code></pre>