This is an old revision of the document!
udevadm
You can use udevadm to see the variables set by udev for a device. This is helpful if you want to get information about the device, based on whether it has a DVD or a CD in there, for example.
udevadm info /dev/sr0