Re: [Pythonmac-SIG] file system encoding and type

2008-07-28 Thread Henning Hraban Ramm
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

[Pythonmac-SIG] file system encoding and type

2008-07-28 Thread Henning Hraban Ramm
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. At the moment I call "mount" like this: import re, subprocess def findCD(): """ Look for