Comment 18 for bug 474790

Revision history for this message
Dennis Craven (dcraven) wrote : Re: [Bug 474790] Re: DeviceKit should ignore SmartWare partitions when using Western Digital external drives

On Fri, Nov 13, 2009 at 12:11 PM, Martin Pitt <email address hidden>wrote:

> Argh. Does it work if you fix my obvious "DKD_PARTITION_SCHEME" typo to
> "DKD_PARTITION_TABLE_SCHEME"?
>
>
So I modified your submitted patch as you suggested to this:

 ENV{DKD_PARTITION_TABLE__SCHEME}=="apm", \
  ENV{ID_CDROM}=="?*", ENV{ID_FS_TYPE}=="udf",
ENV{ID_FS_LABEL}=="WD_SmartWare", \
  ENV{DKD_PRESENTATION_HIDE}="1"

And it still does not work.

Just to reiterate, this is the line I'm using in my own instance, and it
does work:

SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="WD_Virtual_CD*",
ENV{DKD_PRESENTATION_HIDE}="1"

This has been confirmed on two different machines with two different WD
drives. Both machines using Karmic.