title: Determining the filesystem type from a path in Python
body: <p>Is there any <em>portable</em> way in Python (2.*) to obtain the filesystem type of the device containing a given path? For instance, something like:</p>
  
  <pre><code>&gt;&gt;&gt; get_fs_type("/foo/bar")
  'vfat'
  </code></pre>