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

M

muttu2244

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top