title: Discovering USB Mass Storage Devices with Java
body: <p><em><strong>The story behind...</em></strong></p>
  
  <p>I really like TV shows but I go back home only twice a month. The rest of the time I live in a house without internet (close to my university though, so free wifi rocks! - when it works - ) so I needed a little software that was able to update my portable hard-disk with my new shows when I go back home where the file server synchronized with podcasts does its job.
  I did it using Java and it works.</p>
  
  <p><em><strong>The problem</em></strong></p>
  
  <p>Right now I have a <em>.properties</em> file where I stored the mounted directory of that usb hd. Not enough. I want the software to be able to discover all of USB mass storage devices and let the user select which one use to store files. How can I do that?</p>
  
  <p><em><strong>Details</em></strong></p>
  
  <p>a) it has to be in Java (I mean, It could also work with executing local host commands like <code>dir</code> or something like that)</p>
  
  <p>b) my server is on windows, but I prefer it to be an OS independent solution</p>