Finding partition containing a path?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sat Apr 25 04:43:04 CEST 2009

In message <mailman.4526.1240607621.11746.python-list at>, 
skip at wrote:

> Is there an easy way in Python to get the mount point in which a path
> resides?  (Unix only is fine.)

See the os.statvfs call <>.

More information about the Python-list mailing list