Quering device with udevinfo and udevadm

With RHEL 5 to get information about new attached disk in order to write udev rule for it below was enough

# udevinfo -a -p $(udevinfo -q path -n /dev/DEVICE)

and you would get a lot information to write UDEV rule

With RHEL 6, to achieve same, you will need to run

# udevadm info –query=all -n /dev/sda –attribute-walk

I explained here how to write udev rules.That remains same 🙂