maybe you can catch the result of /bin/df and parse it.
--
http://mail.python.org/mailman/listinfo/python-list
rafi <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>> Hi all,
>> I am trying to port my (linux) program to MacOSX, and I need to get a
>> list of mounted filesystems. Under linux, it was easy, I was parsing
>> /etc/mtab (or /proc/mounts), this works also on some other unices.
>> But I have
[EMAIL PROTECTED] wrote:
> Hi all,
> I am trying to port my (linux) program to MacOSX, and I need to get a
> list of mounted filesystems. Under linux, it was easy, I was parsing
> /etc/mtab (or /proc/mounts), this works also on some other unices.
> But I have no idea how to do it on MacOSX, apart f
[EMAIL PROTECTED]
| And when we are at this, how to find out a list of mounted filesystems
| under MS Windows? (yes, I know, there is a difference between cygwin
| python and native port, and the term "mounted" is not used in
| MS Windows
| world much)
WMI will do it under Win32. (Don't know abou