I used the disk arbitration infrastructure to manage various disks and disks.
I registered the DADiskAppearedCallback and DADiskDisappearCallback callback functions.
For usb disks everything works fine, but for CD / DVD I ran into a problem.
After booting the CD / DVD, I have an unmount ( DADiskUnmount() ) disk using BSDName on the disk. Then, after some verification of the disk, I mount the ( DADiskMount() ) disk again using BSDName.
When I re-mount the CD / DVD, the default application installed in
system preferences-> Equipment-> Cds and DVS
does not start.
For example, For DVD video - Open DVD Player. This is where the DVD player should be running.
Please provide any suggestions to overcome this problem.
thanks
I'm still trying to find a solution, "SystemUIServer" controls the application that should be mounted when inserting the CD / DVD. Can I run this action on a CD / DVD? Or is this the right way to manually run a user-provided application on a CD / DVD?
source share