[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libcdio-devel] Do not list slice devices on OS X
From: |
Rocky Bernstein |
Subject: |
Re: [Libcdio-devel] Do not list slice devices on OS X |
Date: |
Sun, 26 Jan 2014 15:24:14 -0500 |
Thanks for the information. It doesn't seem like a patch got attached.
The best way to submit a patch is through this link:
https://savannah.gnu.org/patch/?func=additem&group=libcdio
Although I haven't seen the patch, if you haven't already done so,
considered adding or amending a test to test/driver/osx.c
Thanks.
On Sun, Jan 26, 2014 at 10:38 AM, Robert Kausch <address@hidden>wrote:
> 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
>