Re: Detecting unmounted CD-ROMs
Re: Detecting unmounted CD-ROMs
- Subject: Re: Detecting unmounted CD-ROMs
- From: Garth Cummings <email@hidden>
- Date: Mon, 14 Jul 2003 12:40:52 -0700
Hi Tab,
On Monday, July 14, 2003, at 04:13 AM, Tab Julius wrote:
This isn't really CoreAudio, but I'm not aware of any
hardware-oriented list (if anyone knows, please let me know and I'll
repost over there).
On OS/X, how can I find out the IDs of unmounted CD-ROM drives? I
need to provide a list, and possibly talk to (if only for the purposes
of giving an 'eject' or 'inject' command) all CD-ROM drives, whether
they have a disc in them or not. This was possible under OS/9, but
under OS/X, a drive doesn't exist until it's mounted, which is very
unix-ish, understandably, but leaves me with the problem of finding
the drive before it is mounted.
Any ideas?
Thanks
- Tab
I suggest taking this to the ata-scsi-dev list:
<
http://lists.apple.com/mailman/listinfo/ata-scsi-dev>
The short answer is that drives without media are only visible at the
I/O Kit level. By querying the I/O Registry, you can basically build
the same device list as you see in Apple System Profiler.
Thanks,
--gc
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.