hi i have some doubts on a volume and the file system

muttu2244 at yahoo.com muttu2244 at yahoo.com
Wed Dec 7 20:21:55 EST 2005


hi everybody,

i want to check the position of a volume in a particular drive.
say for example in a disk i have 3 different drives: C:\ , D:\  and
E:\.
Now if i want to check what position is the D:\ in, how can i write the
code.
Means whether its in a 0th position or 1st position or a 2nd position.
Is there any way using win32api or win32com.


My second question is that

if i want to check a particular volume is a logical, or a primary one ,
what is the method i have to use? does it can also be done through
win32api.


My third question is that

is there any way where i can check the label name of a ext2 , ext3 and
linuxswap through python.


thanks in advance for giving a thought on these questions.

regards
yogi




More information about the Python-list mailing list