Hi,The attached patch adds kIOMediaWholeKey to the filter list for IOServiceGetMatchingServices in osx.c.
Without it, IOServiceGetMatchingServices returns one device for the whole disc (e.g. /dev/rdisk0) and an additional "slice" device for each track (e.g. /dev/rdisk0s0, /dev/rdisk0s1 and so on). The patch makes it return only the whole disc device.
This fixes cdio_get_devices returning invalid devices on OS X. Best regards, Robert
