View device capability with udev compatible format.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 13 Dec 2011 16:24:28 +0200
changeset 1139 376ff5f1c602
parent 1138 75c510ea763f
child 1140 63092b4c6d9d
View device capability with udev compatible format.
udev.rst
--- a/udev.rst	Tue Dec 13 16:01:52 2011 +0200
+++ b/udev.rst	Tue Dec 13 16:24:28 2011 +0200
@@ -10,3 +10,14 @@
  * http://wiki.debian.org/udev
  * https://wiki.archlinux.org/index.php/Udev
 
+View device capability with udev compatible format.
+===================================================
+
+For Debian use::
+
+  $ /sbin/udevadm info --name=/dev/sdc --attribute-walk
+
+For other Linux use::
+
+  $ udevinfo -a -p $(udevinfo -q path -n /dev/sdc)
+