Re: How to know CD Driver type
Re: How to know CD Driver type
- Subject: Re: How to know CD Driver type
- From: Citizen <email@hidden>
- Date: Wed, 13 May 2009 11:45:06 +0100
On 12 May 2009, at 23:03, Citizen wrote:
On 12 May 2009, at 06:48, Chris Gardner wrote:
I do not know how to know CD Driver type, which can read CD or can
read DVD.
I want to know the CD Driver whether can read CD disc or DVD disc.
Though I have used DRDevice, I can not get information about the
CD Driver can read CD or DVD.
As I understand it DRDevice is only good for getting the optical
drives writing capabilities. To find out read information about an
optical drive before a disc is inserted you could try parsing the
output from the terminal command "system_profiler". See the relevant
system_profiler man page for more information.
Alternatively there is a low level C based Unix library "ioctl". This
may give you what you want. There is some example code on your hard
disk to get you started with this: /Developer/Examples/DiscRecording/C/
drioctl/
Regards,
Dave
------
David Kennedy (http://www.zenopolis.com)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden