[Pythonmac-SIG] file system encoding and type

Henning Hraban Ramm hraban at fiee.net
Mon Jul 28 23:58:04 CEST 2008


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)





More information about the Pythonmac-SIG mailing list