This is available since udev 142 that we already depend on. This
change makes my USB stick from Sandisk "work" as "expected":
http://people.freedesktop.org/~david/thanks-sandisk.png
KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GOTO="probe_parttable_end"
# don't scan for partition tables on empty discs
-KERNEL=="sr*", ENV{ID_CDROM_MEDIA_TRACK_COUNT}!="?*", GOTO="probe_parttable_end"
+KERNEL=="sr*", ENV{ID_CDROM_MEDIA}!="?*", GOTO="probe_parttable_end"
# scan for partition tables both on whole-disk and partitions
#