Re: Getting Linux partition info programmatically

2008-09-12 Thread Christian Heimes
python dev wrote: Hello everyone, I am trying to get a list of all the partitions (along with their respective file system types) listed in the /media directory. Does anybody know if there is a way to do this using Python, or do I have to get this information by parsing the output of a Linux co

Getting Linux partition info programmatically

2008-09-12 Thread python dev
Hello everyone, I am trying to get a list of all the partitions (along with their respective file system types) listed in the /media directory. Does anybody know if there is a way to do this using Python, or do I have to get this information by parsing the output of a Linux command? Thanks in ad