Get drives and partitions list (Linux)

cantabile cantabile.03 at wanadoo.fr
Sun Jun 12 20:12:22 EDT 2005


Hi, I'd like to get drives and partitions (and their size too) with
python under Linux. So far, I thought of reading /proc/partitions but
maybe i could use fdsik also ?
How would I do that in python ?

Thanks for your help (newbie here :) )



More information about the Python-list mailing list