Recently I stumbled across the following problem -- It is impossible to retrieve a DVD TOC from the kernel moduleTo clarify - a kernel module can get a pointer to any object in a DVD stack, but the module is external to the DVD stack so to be graceful it invokes only public functions, also the module can't allocate a SCSITask class object as doesn't inherit from any SCSI related class. So the only option is to invoke readTOC() which fails for DVD.
Is this failure a deliberate by design? What are the reasons for this?
On Windows there was no problem in issuing a SCSI request from a kernel module which retrieved a DVD TOC ( at least it didn't failed though I can't bet that it returned a correct information ).
------------------
6 Infinite Loop
M/S 306-2MS
Cupertino CA 95014
phone: (408) 974-4033
fax: (408) 862-7577
email: sar...@apple.com