Am 2008-07-28 um 15:25 schrieb David Hughes:
Henning Hraban Ramm wrote:
How can I detect for some entry in "/Volumes" what kind of volume
it is, e.g. Harddisk, USB stick, CD/DVD, and what encoding it uses?
For a CD/DVD cataloguing tool I need to detect removable disks.
I use the attached to extract information from the system_profiler
and diskutil commands. Maybe it can be adapted to return encodings
as well.
Thank you very much, but I was looking for a platform independent
solution. Otherwise I can stay with "mount".
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net
https://www.cacert.org (I'm an assurer)
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig